diff options
| author | MarcoFalke <[email protected]> | 2018-07-27 14:35:28 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-09-11 12:08:17 -0400 |
| commit | fa511e8dad87ddee7bf03b82f2ed69e546021004 (patch) | |
| tree | 40cafe3215b8b7af4af4c2d377887d8ffafb13d7 /src/txmempool.cpp | |
| parent | Merge #13734: gui: Drop boost::scoped_array and use wchar_t API explicitly on... (diff) | |
| download | discoin-fa511e8dad87ddee7bf03b82f2ed69e546021004.tar.xz discoin-fa511e8dad87ddee7bf03b82f2ed69e546021004.zip | |
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 3ad93342c..34a1e539d 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); |