aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
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/wallet
parent22f25a61168f261dff06fb66737be55eab290c5b (diff)
refactor: use named args when ScriptToUniv or TxToUniv are invoked
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpc/transactions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp
index ad94ce4b32..c87af2ea30 100644
--- a/src/wallet/rpc/transactions.cpp
+++ b/src/wallet/rpc/transactions.cpp
@@ -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);
}