Merge ffb021612b into merged_master (Bitcoin PR bitcoin/bitcoin#28451)

This commit is contained in:
Byron Hambly 2025-11-11 11:27:27 +02:00
commit 352fbd36dc
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
45 changed files with 85 additions and 156 deletions

View file

@ -1421,7 +1421,7 @@ static RPCHelpMan consumecompactsketch()
}
}
CDataStream ssReq(SER_NETWORK, PROTOCOL_VERSION);
DataStream ssReq{};
ssReq << req;
if (req.indexes.empty()) {
@ -1521,7 +1521,7 @@ static RPCHelpMan finalizecompactblock()
// BlockTransactions from the server
std::vector<unsigned char> block_tx(ParseHex(request.params[1].get_str()));
CDataStream ssResp(block_tx, SER_NETWORK, PROTOCOL_VERSION);
DataStream ssResp{block_tx};
BlockTransactions transactions;
ssResp >> transactions;