diff options
author | Michael Dietz <michael.dietz@waya.ai> | 2021-09-28 19:04:07 -0500 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-03-30 20:00:27 +0100 |
commit | 8b9efebb0a1a1e6b3a6de88cef57454f1a79eb04 (patch) | |
tree | fffc1b81b299f040eb11f42cd7aa08666408f7cd /src/bitcoin-tx.cpp | |
parent | 22f25a61168f261dff06fb66737be55eab290c5b (diff) |
refactor: use named args when ScriptToUniv or TxToUniv are invoked
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
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); |