Skip to content

Commit 43422a0

Browse files
committed
[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)
1 parent 5270817 commit 43422a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@ set< set<CTxDestination> > CWallet::GetAddressGroupings()
20302030

20312031
set<CTxDestination> CWallet::GetAccountAddresses(string strAccount) const
20322032
{
2033-
AssertLockHeld(cs_wallet); // mapWallet
2033+
LOCK(cs_wallet);
20342034
set<CTxDestination> result;
20352035
BOOST_FOREACH(const PAIRTYPE(CTxDestination, CAddressBookData)& item, mapAddressBook)
20362036
{

0 commit comments

Comments
 (0)