diff options
author | Kiminuo <kiminuo@protonmail.com> | 2021-10-20 08:00:44 +0200 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-10-20 10:51:01 +0200 |
commit | 1bdd5f63229ebf28c24a8656f486ed8a6c8b3787 (patch) | |
tree | ab45d770bb969bf2971bef580a0959da3ce8672d /src/rpc/blockchain.cpp | |
parent | 0ccf9b2e5594581deef2f60174c3651a57f93b64 (diff) | |
download | bitcoin-1bdd5f63229ebf28c24a8656f486ed8a6c8b3787.tar.xz |
Address review comments from #22918
* fix English in release notes
* Simplify `switch` to `if`.
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index dadd82e03f..5001a9e0e0 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -229,6 +229,7 @@ UniValue blockToJSON(const CBlock& block, const CBlockIndex* tip, const CBlockIn TxToUniv(*tx, uint256(), objTx, true, RPCSerializationFlags(), txundo, verbosity); txs.push_back(objTx); } + break; } result.pushKV("tx", txs); |