Correct various stats and add block height to response

This commit is contained in:
Jonathan "Duke" Leto
2019-08-18 18:06:12 -07:00
parent 3f94feb836
commit 5365d15e69
2 changed files with 10 additions and 6 deletions

View File

@@ -2017,6 +2017,7 @@ UniValue getchaintxstats(const UniValue& params, bool fHelp)
ret.pushKV("shielding_payments", (int64_t)pindex->nChainShieldingPayments);
ret.pushKV("window_final_block_hash", pindex->GetBlockHash().GetHex());
ret.pushKV("window_final_block_height", pindex->GetHeight());
ret.pushKV("window_block_count", blockcount);
if (blockcount > 0) {