[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)
This commit is contained in:
parent
5270817180
commit
43422a0121
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue