mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-28 08:25:59 +01:00
Use ParamsWrapper for witness serialization
This commit is contained in:
@@ -1617,8 +1617,8 @@ RPCHelpMan walletprocesspsbt()
|
||||
CMutableTransaction mtx;
|
||||
// Returns true if complete, which we already think it is.
|
||||
CHECK_NONFATAL(FinalizeAndExtractPSBT(psbtx, mtx));
|
||||
CDataStream ssTx_final(SER_NETWORK, PROTOCOL_VERSION);
|
||||
ssTx_final << mtx;
|
||||
DataStream ssTx_final;
|
||||
ssTx_final << TX_WITH_WITNESS(mtx);
|
||||
result.pushKV("hex", HexStr(ssTx_final));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user