mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
Use DataStream where possible
This commit is contained in:
@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(pmt_test1)
|
||||
CPartialMerkleTree pmt1(vTxid, vMatch);
|
||||
|
||||
// serialize
|
||||
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
|
||||
DataStream ss{};
|
||||
ss << pmt1;
|
||||
|
||||
// verify CPartialMerkleTree's size guarantees
|
||||
|
||||
Reference in New Issue
Block a user