mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
do not calculate anonymized balance during initial download or while in lite mode
This commit is contained in:
parent
4e94fe1d52
commit
a948de8009
@ -72,8 +72,8 @@ qint64 WalletModel::getBalance(const CCoinControl *coinControl) const
|
||||
|
||||
qint64 WalletModel::getAnonymizedBalance() const
|
||||
{
|
||||
qint64 ret = wallet->GetAnonymizedBalance();
|
||||
return ret;
|
||||
if(IsInitialBlockDownload() || fLiteMode) return 0;
|
||||
return wallet->GetAnonymizedBalance();
|
||||
}
|
||||
|
||||
qint64 WalletModel::getUnconfirmedBalance() const
|
||||
|
Loading…
Reference in New Issue
Block a user