aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-11-28 19:11:49 +0100
committerCozz Lovan <cozzlovan@yahoo.com>2014-11-29 12:51:36 +0100
commit43422a0121b4d34fac268eacd7fbd9ead8e73efd (patch)
tree357e3ff5ee718599aeea16d64f8a9a2d14e72bb0 /src
parent5270817180c7caae4d6c1dacb01605483d52eb48 (diff)
[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)
Diffstat (limited to 'src')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 000a088b97..27dbf61c2b 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -2030,7 +2030,7 @@ set< set<CTxDestination> > CWallet::GetAddressGroupings()
set<CTxDestination> CWallet::GetAccountAddresses(string strAccount) const
{
- AssertLockHeld(cs_wallet); // mapWallet
+ LOCK(cs_wallet);
set<CTxDestination> result;
BOOST_FOREACH(const PAIRTYPE(CTxDestination, CAddressBookData)& item, mapAddressBook)
{