diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-04-19 13:19:20 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-05-13 14:46:01 -0400 |
commit | fa3c6511435149782545ac0d09d4722dc115d709 (patch) | |
tree | 4b50c659cd37aa21590050479c8e525ad017d9e1 /src/test/validation_block_tests.cpp | |
parent | 14959753a424f04be118630f691ecab9b0df7e9e (diff) |
[refactor] interfaces: Add missing LockAnnotation for cs_main
Diffstat (limited to 'src/test/validation_block_tests.cpp')
-rw-r--r-- | src/test/validation_block_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/validation_block_tests.cpp b/src/test/validation_block_tests.cpp index 7c8d4ea49d..5dee034b20 100644 --- a/src/test/validation_block_tests.cpp +++ b/src/test/validation_block_tests.cpp @@ -181,6 +181,7 @@ BOOST_AUTO_TEST_CASE(processnewblock_signals_ordering) UnregisterValidationInterface(&sub); + LOCK(cs_main); BOOST_CHECK_EQUAL(sub.m_expected_tip, ::ChainActive().Tip()->GetBlockHash()); } |