[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)

This commit is contained in:
Cozz Lovan 2014-11-28 19:11:49 +01:00
parent 5270817180
commit 43422a0121

View File

@ -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)
{