Browse Source

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

0.10
Cozz Lovan 10 years ago
parent
commit
43422a0121
  1. 2
      src/wallet.cpp

2
src/wallet.cpp

@ -2030,7 +2030,7 @@ set< set<CTxDestination> > CWallet::GetAddressGroupings()
set<CTxDestination> CWallet::GetAccountAddresses(string strAccount) const set<CTxDestination> CWallet::GetAccountAddresses(string strAccount) const
{ {
AssertLockHeld(cs_wallet); // mapWallet LOCK(cs_wallet);
set<CTxDestination> result; set<CTxDestination> result;
BOOST_FOREACH(const PAIRTYPE(CTxDestination, CAddressBookData)& item, mapAddressBook) BOOST_FOREACH(const PAIRTYPE(CTxDestination, CAddressBookData)& item, mapAddressBook)
{ {

Loading…
Cancel
Save