diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-08-13 13:24:52 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-08-26 00:25:28 +0200 |
commit | 9e0a514112df4f2b85abf09885a8e7898b4c09ae (patch) | |
tree | 00a106e11f992cf2d0af96ed6dff415466f8c788 /src/test/miner_tests.cpp | |
parent | f6eb85d17c6f8ed1fe043168e90d4830ab4745c3 (diff) |
Add compile time checking for all cs_main runtime locking assertions
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index 2da06b8d31..2b9641b6d4 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -90,7 +90,7 @@ static CBlockIndex CreateBlockIndex(int nHeight) return index; } -static bool TestSequenceLocks(const CTransaction &tx, int flags) +static bool TestSequenceLocks(const CTransaction &tx, int flags) EXCLUSIVE_LOCKS_REQUIRED(cs_main) { LOCK(mempool.cs); return CheckSequenceLocks(tx, flags); |