mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-01 19:21:28 +02:00
refactor: use named args when ScriptToUniv or TxToUniv are invoked
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user