diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-23 18:53:44 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-23 21:19:22 +0100 |
commit | fa8bdb048e65cae2d26bea3f991717a856e2fb39 (patch) | |
tree | c29e6b49aef28d00725ae4477de2f4b7c5bdf1ca /src/psbt.cpp | |
parent | faa96f841fe45bc49ebb6e07ac82a129fa9c40bf (diff) |
refactor: Drop CDataStream constructors in favor of one taking a Span of bytes
Diffstat (limited to 'src/psbt.cpp')
-rw-r--r-- | src/psbt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psbt.cpp b/src/psbt.cpp index 3fb743e5db..f51fab6225 100644 --- a/src/psbt.cpp +++ b/src/psbt.cpp @@ -360,7 +360,7 @@ bool DecodeBase64PSBT(PartiallySignedTransaction& psbt, const std::string& base6 bool DecodeRawPSBT(PartiallySignedTransaction& psbt, const std::string& tx_data, std::string& error) { - CDataStream ss_data(tx_data.data(), tx_data.data() + tx_data.size(), SER_NETWORK, PROTOCOL_VERSION); + CDataStream ss_data(MakeUCharSpan(tx_data), SER_NETWORK, PROTOCOL_VERSION); try { ss_data >> psbt; if (!ss_data.empty()) { |