test
This commit is contained in:
@@ -39,7 +39,7 @@ using namespace std;
|
||||
*
|
||||
* Or alternatively, create a specific query method for the information.
|
||||
**/
|
||||
uint64_t komod_interestsum();
|
||||
uint64_t komodo_interestsum();
|
||||
|
||||
Value getinfo(const Array& params, bool fHelp)
|
||||
{
|
||||
@@ -92,7 +92,7 @@ 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("interest", ValueFromAmount(komod_interestsum())));
|
||||
obj.push_back(Pair("interest", ValueFromAmount(komodo_interestsum())));
|
||||
}
|
||||
#endif
|
||||
obj.push_back(Pair("blocks", (int)chainActive.Height()));
|
||||
|
||||
Reference in New Issue
Block a user