aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.cpp
diff options
context:
space:
mode:
authorMichael Dietz <michael.dietz@waya.ai>2021-09-28 19:04:07 -0500
committerfanquake <fanquake@gmail.com>2022-03-30 20:00:27 +0100
commit8b9efebb0a1a1e6b3a6de88cef57454f1a79eb04 (patch)
treefffc1b81b299f040eb11f42cd7aa08666408f7cd /src/bitcoin-tx.cpp
parent22f25a61168f261dff06fb66737be55eab290c5b (diff)
downloadbitcoin-8b9efebb0a1a1e6b3a6de88cef57454f1a79eb04.tar.xz
refactor: use named args when ScriptToUniv or TxToUniv are invoked
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r--src/bitcoin-tx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp
index b297081cab..0b40626595 100644
--- a/src/bitcoin-tx.cpp
+++ b/src/bitcoin-tx.cpp
@@ -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);