diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index bc164491c0..9a0d90a09f 100644 --- a/src/rpcmisc.cpp +++ b/src/rpcmisc.cpp @@ -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()));