Browse Source

Correctly return organic json

warmup
Jonathan "Duke" Leto 5 years ago
parent
commit
4b97017077
  1. 2
      src/rpc/blockchain.cpp

2
src/rpc/blockchain.cpp

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

Loading…
Cancel
Save