mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Enable darksend balance only when LiteMode is disabled
This commit is contained in:
parent
70a5555dc8
commit
8e1eaf983d
@ -69,7 +69,8 @@ Value getinfo(const Array& params, bool fHelp)
|
||||
if (pwalletMain) {
|
||||
obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
|
||||
obj.push_back(Pair("balance", ValueFromAmount(pwalletMain->GetBalance())));
|
||||
obj.push_back(Pair("darksend_balance", ValueFromAmount(pwalletMain->GetAnonymizedBalance())));
|
||||
if(!fLiteMode)
|
||||
obj.push_back(Pair("darksend_balance", ValueFromAmount(pwalletMain->GetAnonymizedBalance())));
|
||||
}
|
||||
#endif
|
||||
obj.push_back(Pair("blocks", (int)chainActive.Height()));
|
||||
|
Loading…
Reference in New Issue
Block a user