refactor: use named args when ScriptToUniv or TxToUniv are invoked

This commit is contained in:
Michael Dietz
2021-09-28 19:04:07 -05:00
committed by fanquake
parent 22f25a6116
commit 8b9efebb0a
6 changed files with 14 additions and 14 deletions

View File

@@ -800,7 +800,7 @@ RPCHelpMan gettransaction()
if (verbose) {
UniValue decoded(UniValue::VOBJ);
TxToUniv(*wtx.tx, uint256(), decoded, false);
TxToUniv(*wtx.tx, /*block_hash=*/uint256(), /*entry=*/decoded, /*include_hex=*/false);
entry.pushKV("decoded", decoded);
}