Address review comments from #22918

* fix English in release notes
* Simplify `switch` to `if`.
This commit is contained in:
Kiminuo
2021-10-20 08:00:44 +02:00
parent 0ccf9b2e55
commit 1bdd5f6322
3 changed files with 11 additions and 15 deletions

View File

@@ -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);