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

@ -750,7 +750,7 @@ static void MutateTx(CMutableTransaction& tx, const std::string& command,
static void OutputTxJSON(const CTransaction& tx)
{
UniValue entry(UniValue::VOBJ);
TxToUniv(tx, uint256(), entry);
TxToUniv(tx, /*block_hash=*/uint256(), entry);
std::string jsonOutput = entry.write(4);
tfm::format(std::cout, "%s\n", jsonOutput);