mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
[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
|
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