mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge pull request #245 from UdjinM6/v0.11.2.x_fix_litemode_consistency
V0.11.2.x fix litemode consistency for anon balance quering
This commit is contained in:
commit
3c8234853f
@ -73,7 +73,6 @@ qint64 WalletModel::getBalance(const CCoinControl *coinControl) const
|
||||
|
||||
qint64 WalletModel::getAnonymizedBalance() const
|
||||
{
|
||||
if(fLiteMode) return 0;
|
||||
return wallet->GetAnonymizedBalance();
|
||||
}
|
||||
|
||||
|
@ -1090,6 +1090,8 @@ int64_t CWallet::GetBalance() const
|
||||
|
||||
int64_t CWallet::GetAnonymizedBalance() const
|
||||
{
|
||||
if(fLiteMode) return 0;
|
||||
|
||||
int64_t nTotal = 0;
|
||||
{
|
||||
LOCK2(cs_main, cs_wallet);
|
||||
|
Loading…
Reference in New Issue
Block a user