mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 17:54:19 +02:00
Merge bitcoin/bitcoin#24673: refactor: followup of remove -deprecatedrpc=addresses flag
9563a645c2refactor: add stdd:: includes to core_write (fanquake)8b9efebb0arefactor: use named args when ScriptToUniv or TxToUniv are invoked (Michael Dietz)22f25a6116refactor: prefer snake case, TxToUniv arg hashBlock renamed block_hash (Michael Dietz)828a094ecfrefactor: merge ScriptPubKeyToUniv & ScriptToUniv into one function (Michael Dietz) Pull request description: I've cherry-picked some of the commits out of #22924, and made minor changes (like fixing named args). ACKs for top commit: MarcoFalke: re-ACK9563a645c2🕓 Tree-SHA512: 4f0e5b45c14cbf68b9e389bbe1211c125d95cbd3da5205b1cff6a4c44f15b15039ba2a5b25cd7e2580d9169404f1b7ff620d8a7e01f6112e3cb153ecfaef8916
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user