wallet: Add lock annotation for mapAddressBook

This commit is contained in:
MarcoFalke committed 2019-02-07 15:22:14 -05:00
1 parent 72d34c0edc
commit faa46475d7
7 files changed
+13 -13

No files matched your search

+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);
};