Browse Source

Add symbol to coinsupply return

pull/4/head
jl777 6 years ago
parent
commit
8aa6378bc9
  1. 1
      src/rpcmisc.cpp

1
src/rpcmisc.cpp

@ -238,6 +238,7 @@ UniValue coinsupply(const UniValue& params, bool fHelp)
if ( (supply= komodo_coinsupply(&zfunds,height)) > 0 )
{
result.push_back(Pair("result", "success"));
result.push_back(Pair("coin", ASSETCHAINS_SYMBOL[0] == 0 ? "KMD" : ASSETCHAINS_SYMBOL));
result.push_back(Pair("height", (int)height));
result.push_back(Pair("supply", ValueFromAmount(supply)));
result.push_back(Pair("zfunds", ValueFromAmount(zfunds)));

Loading…
Cancel
Save