[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)
This commit is contained in:
parent
5270817180
commit
43422a0121
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user