diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-27 14:35:28 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-09-11 12:08:17 -0400 |
commit | fa511e8dad87ddee7bf03b82f2ed69e546021004 (patch) | |
tree | 40cafe3215b8b7af4af4c2d377887d8ffafb13d7 /src/txmempool.cpp | |
parent | 362518791ade834d7f1f25b679ba236dcf5c3ad0 (diff) |
Pass tx pool reference into CheckSequenceLocks
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 3ad93342c4..34a1e539df 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -498,7 +498,7 @@ void CTxMemPool::removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMem const CTransaction& tx = it->GetTx(); LockPoints lp = it->GetLockPoints(); bool validLP = TestLockPointValidity(&lp); - if (!CheckFinalTx(tx, flags) || !CheckSequenceLocks(tx, flags, &lp, validLP)) { + if (!CheckFinalTx(tx, flags) || !CheckSequenceLocks(*this, tx, flags, &lp, validLP)) { // Note if CheckSequenceLocks fails the LockPoints may still be invalid // So it's critical that we remove the tx and not depend on the LockPoints. txToRemove.insert(it); |