mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Enable darksend balance only when LiteMode is disabled
This commit is contained in:
parent
70a5555dc8
commit
8e1eaf983d
@ -69,6 +69,7 @@ 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())));
|
||||||
|
if(!fLiteMode)
|
||||||
obj.push_back(Pair("darksend_balance", ValueFromAmount(pwalletMain->GetAnonymizedBalance())));
|
obj.push_back(Pair("darksend_balance", ValueFromAmount(pwalletMain->GetAnonymizedBalance())));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user