mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Pass tx pool reference into CheckSequenceLocks
This commit is contained in:
parent
362518791a
commit
fa511e8dad
4 changed files with 8 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue