mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +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 WalletModel::getAnonymizedBalance() const
|
||||||
{
|
{
|
||||||
qint64 ret = wallet->GetAnonymizedBalance();
|
if(IsInitialBlockDownload() || fLiteMode) return 0;
|
||||||
return ret;
|
return wallet->GetAnonymizedBalance();
|
||||||
}
|
}
|
||||||
|
|
||||||
qint64 WalletModel::getUnconfirmedBalance() const
|
qint64 WalletModel::getUnconfirmedBalance() const
|
||||||
|
Loading…
Reference in New Issue
Block a user