File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818
1919static void DeserializeBlockTest (benchmark::Bench& bench)
2020{
21- CDataStream stream (benchmark::data::block413567, SER_NETWORK, PROTOCOL_VERSION );
21+ DataStream stream (benchmark::data::block413567);
2222 std::byte a{0 };
2323 stream.write ({&a, 1 }); // Prevent compaction
2424
@@ -32,7 +32,7 @@ static void DeserializeBlockTest(benchmark::Bench& bench)
3232
3333static void DeserializeAndCheckBlockTest (benchmark::Bench& bench)
3434{
35- CDataStream stream (benchmark::data::block413567, SER_NETWORK, PROTOCOL_VERSION );
35+ DataStream stream (benchmark::data::block413567);
3636 std::byte a{0 };
3737 stream.write ({&a, 1 }); // Prevent compaction
3838
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ static void VerifyScriptBench(benchmark::Bench& bench)
6161 assert (success);
6262
6363#if defined(HAVE_CONSENSUS_LIB)
64- CDataStream stream (SER_NETWORK, PROTOCOL_VERSION) ;
64+ DataStream stream;
6565 stream << TX_WITH_WITNESS (txSpend);
6666 int csuccess = bitcoinconsensus_verify_script_with_amount (
6767 txCredit.vout [0 ].scriptPubKey .data (),
You can’t perform that action at this time.
0 commit comments