Merge pull request #5390
43422a0
[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..) (Cozz Lovan)
This commit is contained in:
commit
89151d9f29
@ -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…
Reference in New Issue
Block a user