aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-09-01 12:18:20 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-09-01 12:34:19 +0300
commit66e47e5e506043fbb9b4e487b44bf992985709c9 (patch)
tree4cc6214b6e5040d8ed67a67dcefff65a6e8af82e /src/txmempool.h
parent939807768acd508932f2efabee660d56324a73df (diff)
downloadbitcoin-66e47e5e506043fbb9b4e487b44bf992985709c9.tar.xz
refactor: CTxMemPool::UpdateChild() requires CTxMemPool::cs lock
No change in behavior, the lock is already held at call sites.
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index fbff1afcca..05455b8bdd 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -569,7 +569,7 @@ private:
txlinksMap mapLinks;
void UpdateParent(txiter entry, txiter parent, bool add) EXCLUSIVE_LOCKS_REQUIRED(cs);
- void UpdateChild(txiter entry, txiter child, bool add);
+ void UpdateChild(txiter entry, txiter child, bool add) EXCLUSIVE_LOCKS_REQUIRED(cs);
std::vector<indexed_transaction_set::const_iterator> GetSortedDepthAndScore() const EXCLUSIVE_LOCKS_REQUIRED(cs);