Add symbol to coinsupply return

This commit is contained in:
jl777
2018-07-12 01:46:32 -11:00
parent aa51eef619
commit 8aa6378bc9

View File

@@ -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)));