Skip to content

Commit 89151d9

Browse files
committed
Merge pull request #5390
43422a0 [Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..) (Cozz Lovan)
2 parents 0ddf441 + 43422a0 commit 89151d9

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)