mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Add required locks in tests
Unit tests with DEBUG_LOCKORDER were running into assertions.
This commit is contained in:
@@ -254,6 +254,7 @@ BOOST_AUTO_TEST_CASE(test_Get)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(test_IsStandard)
|
||||
{
|
||||
LOCK(cs_main);
|
||||
CBasicKeyStore keystore;
|
||||
CCoinsView coinsDummy;
|
||||
CCoinsViewCache coins(coinsDummy);
|
||||
|
||||
Reference in New Issue
Block a user