Correctly return organic json

This commit is contained in:
Jonathan "Duke" Leto
2019-09-05 08:19:04 +02:00
parent c1dd6e5b96
commit 4b97017077

View File

@@ -2100,7 +2100,7 @@ UniValue getchaintxstats(const UniValue& params, bool fHelp)
organic.pushKV("txrate", ((double)ORG(nTxDiff)) / nTimeDiff);
organic.pushKV("txcount", (int) ORG(nTxDiff));
organic.pushKV("payments", (int) ORG(nPaymentsDiff));
organic.pushKV("organic", organic);
ret.pushKV("organic", organic);
}
}
}