mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01: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