aboutsummaryrefslogtreecommitdiff
path: root/src/external_signer.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-11-19 14:58:00 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-11-28 12:42:37 +0100
commitfae76a1f2ac0b352cdd708e6d57f8605bf40112e (patch)
tree796b195f7feba774f65c72916d8be501dda54b11 /src/external_signer.cpp
parentfac39b56b723f79ba0aa9570708a1d4a600f4e12 (diff)
downloadbitcoin-fae76a1f2ac0b352cdd708e6d57f8605bf40112e.tar.xz
scripted-diff: Use DataStream in most places
The remaining places are handled easier outside a scripted-diff. -BEGIN VERIFY SCRIPT- sed --regexp-extended -i 's/CDataStream ([0-9a-zA-Z_]+)\(SER_[A-Z]+, [A-Z_]+_VERSION\);/DataStream \1{};/g' $( git grep -l CDataStream) sed -i 's/, CDataStream/, DataStream/g' src/wallet/walletdb.cpp -END VERIFY SCRIPT-
Diffstat (limited to 'src/external_signer.cpp')
-rw-r--r--src/external_signer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external_signer.cpp b/src/external_signer.cpp
index 15024f6e0f..8cf57cde92 100644
--- a/src/external_signer.cpp
+++ b/src/external_signer.cpp
@@ -74,7 +74,7 @@ UniValue ExternalSigner::GetDescriptors(const int account)
bool ExternalSigner::SignTransaction(PartiallySignedTransaction& psbtx, std::string& error)
{
// Serialize the PSBT
- CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
+ DataStream ssTx{};
ssTx << psbtx;
// parse ExternalSigner master fingerprint
std::vector<unsigned char> parsed_m_fingerprint = ParseHex(m_fingerprint);