aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-11-17 12:54:39 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-03-24 11:17:08 -0400
commitb55555da3e25a47f1e7fced7f09d4f0bf8198624 (patch)
tree551e618067f55d5de6d4b05623202020ce1f626b /src/txmempool.cpp
parentb43aba89e356ff95b706e80d4802f60fc46a569a (diff)
rpc: Add testmempoolaccept
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index d1edde284f..462c165cc4 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -447,7 +447,7 @@ void CTxMemPool::removeUnchecked(txiter it, MemPoolRemovalReason reason)
// Also assumes that if an entry is in setDescendants already, then all
// in-mempool descendants of it are already in setDescendants as well, so that we
// can save time by not iterating over those entries.
-void CTxMemPool::CalculateDescendants(txiter entryit, setEntries &setDescendants)
+void CTxMemPool::CalculateDescendants(txiter entryit, setEntries& setDescendants) const
{
setEntries stage;
if (setDescendants.count(entryit) == 0) {