mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 15:36:19 +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