Pass tx pool reference into CheckSequenceLocks

This commit is contained in:
MarcoFalke
2018-07-27 14:35:28 -04:00
parent 362518791a
commit fa511e8dad
4 changed files with 8 additions and 8 deletions

View File

@@ -92,8 +92,8 @@ static CBlockIndex CreateBlockIndex(int nHeight)
static bool TestSequenceLocks(const CTransaction &tx, int flags) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
{
LOCK(mempool.cs);
return CheckSequenceLocks(tx, flags);
LOCK(::mempool.cs);
return CheckSequenceLocks(::mempool, tx, flags);
}
// Test suite for ancestor feerate transaction selection.