wallet: Add lock annotation for mapAddressBook

This commit is contained in:
MarcoFalke
2019-02-07 14:46:08 -05:00
parent 72d34c0edc
commit faa46475d7
7 changed files with 13 additions and 13 deletions
+1
View File
@@ -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);
};