mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +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
|
qint64 WalletModel::getAnonymizedBalance() const
|
||||||
{
|
{
|
||||||
if(fLiteMode) return 0;
|
|
||||||
return wallet->GetAnonymizedBalance();
|
return wallet->GetAnonymizedBalance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1090,6 +1090,8 @@ int64_t CWallet::GetBalance() const
|
|||||||
|
|
||||||
int64_t CWallet::GetAnonymizedBalance() const
|
int64_t CWallet::GetAnonymizedBalance() const
|
||||||
{
|
{
|
||||||
|
if(fLiteMode) return 0;
|
||||||
|
|
||||||
int64_t nTotal = 0;
|
int64_t nTotal = 0;
|
||||||
{
|
{
|
||||||
LOCK2(cs_main, cs_wallet);
|
LOCK2(cs_main, cs_wallet);
|
||||||
|
Loading…
Reference in New Issue
Block a user