From 8bd2ab1f35f1b3f618fa801debf844eb164a2bd6 Mon Sep 17 00:00:00 2001 From: Nadav Ivgi Date: Fri, 21 Aug 2020 17:41:02 +0300 Subject: [PATCH] docs: Correct description for getblockstats's txs field It does count the coinbase transaction. Refs #19766 Github-Pull: #19777 Rebased-From: 4148f55dd016f940df50a44cf03d117cdb1dd929 --- src/rpc/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index ad5be71e21b..7c08c0a45fb 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1717,7 +1717,7 @@ static UniValue getblockstats(const JSONRPCRequest& request) " \"90th_percentile_feerate\", (numeric) The 90th percentile feerate\n" " ],\n" " \"height\": xxxxx, (numeric) The height of the block\n" - " \"ins\": xxxxx, (numeric) The number of inputs (excluding coinbase)\n" + " \"ins\": xxxxx, (numeric) The number of inputs (including coinbase)\n" " \"maxfee\": xxxxx, (numeric) Maximum fee in the block\n" " \"maxfeerate\": xxxxx, (numeric) Maximum feerate (in satoshis per virtual byte)\n" " \"maxtxsize\": xxxxx, (numeric) Maximum transaction size\n"