mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +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) {
|
if (pwalletMain) {
|
||||||
obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
|
obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
|
||||||
obj.push_back(Pair("balance", ValueFromAmount(pwalletMain->GetBalance())));
|
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
|
#endif
|
||||||
obj.push_back(Pair("blocks", (int)chainActive.Height()));
|
obj.push_back(Pair("blocks", (int)chainActive.Height()));
|
||||||
|
Loading…
Reference in New Issue
Block a user