mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge ffb021612b into merged_master (Bitcoin PR bitcoin/bitcoin#28451)
This commit is contained in:
commit
352fbd36dc
45 changed files with 85 additions and 156 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue