Skip to content
Snippets Groups Projects
Unverified Commit 80563867 authored by Wolfgang Welz's avatar Wolfgang Welz Committed by GitHub
Browse files

Merge pull request #78 from alexsporn/fix/wrong-bundle-lock

Fix wrong lock being used
parents 48cd6feb 9351e364
No related branches found
No related tags found
No related merge requests found
......@@ -48,9 +48,9 @@ func (bundle *Bundle) SetHash(hash trinary.Trytes) {
}
func (bundle *Bundle) GetTransactionHashes() (result []trinary.Trytes) {
bundle.bundleEssenceHashMutex.RLock()
bundle.transactionHashesMutex.RLock()
result = bundle.transactionHashes
bundle.bundleEssenceHashMutex.RUnlock()
bundle.transactionHashesMutex.RUnlock()
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment