mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 05:39:38 +02:00
refactor: Make HexStr take a span
Make HexStr take a span of bytes, instead of an awkward pair of templated iterators.
This commit is contained in:
@@ -1348,7 +1348,7 @@ UniValue finalizepsbt(const JSONRPCRequest& request)
|
||||
|
||||
if (complete && extract) {
|
||||
ssTx << mtx;
|
||||
result_str = HexStr(ssTx.str());
|
||||
result_str = HexStr(ssTx);
|
||||
result.pushKV("hex", result_str);
|
||||
} else {
|
||||
ssTx << psbtx;
|
||||
|
||||
Reference in New Issue
Block a user