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/test/miner_tests.cpp | |
parent | 362518791ade834d7f1f25b679ba236dcf5c3ad0 (diff) |
Pass tx pool reference into CheckSequenceLocks
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index 3eb8aa14fd..354ca7507e 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -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. |