diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 5b085f492d..34ca3bacad 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -173,6 +173,8 @@ void CTxMemPool::UpdateTransactionsFromBlock(const std::vector<uint256> &vHashes bool CTxMemPool::CalculateMemPoolAncestors(const CTxMemPoolEntry &entry, setEntries &setAncestors, uint64_t limitAncestorCount, uint64_t limitAncestorSize, uint64_t limitDescendantCount, uint64_t limitDescendantSize, std::string &errString, bool fSearchForParents /* = true */) const { + LOCK(cs); + setEntries parentHashes; const CTransaction &tx = entry.GetTx(); |