diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-02-07 14:46:08 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-02-07 15:22:14 -0500 |
commit | faa46475d7d7dc60dcc80be34826cf98fb25dc95 (patch) | |
tree | 09c37985d69ba643c9b0cd7693345f13acf3d282 /src/qt/test/addressbooktests.cpp | |
parent | 72d34c0edc5ad9e69e0d054459ec15d2278f206b (diff) |
wallet: Add lock annotation for mapAddressBook
Diffstat (limited to 'src/qt/test/addressbooktests.cpp')
-rw-r--r-- | src/qt/test/addressbooktests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/test/addressbooktests.cpp b/src/qt/test/addressbooktests.cpp index 3e414df1f0..7f5e92ea9f 100644 --- a/src/qt/test/addressbooktests.cpp +++ b/src/qt/test/addressbooktests.cpp @@ -95,6 +95,7 @@ void TestAddAddressesToSendBook() } auto check_addbook_size = [&wallet](int expected_size) { + LOCK(wallet->cs_wallet); QCOMPARE(static_cast<int>(wallet->mapAddressBook.size()), expected_size); }; |