We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6a73a commit 1480469Copy full SHA for 1480469
src/policy/rbf.cpp
@@ -12,6 +12,7 @@
12
#include <tinyformat.h>
13
#include <txmempool.h>
14
#include <uint256.h>
15
+#include <util/check.h>
16
#include <util/moneystr.h>
17
#include <util/rbf.h>
18
@@ -35,7 +36,7 @@ RBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool)
35
36
37
// If all the inputs have nSequence >= maxint-1, it still might be
38
// signaled for RBF if any unconfirmed parents have signaled.
- const CTxMemPoolEntry entry{*pool.mapTx.find(tx.GetHash())};
39
+ const auto& entry{*Assert(pool.GetEntry(tx.GetHash()))};
40
auto ancestors{pool.AssumeCalculateMemPoolAncestors(__func__, entry, CTxMemPool::Limits::NoLimits(),
41
/*fSearchForParents=*/false)};
42
0 commit comments