bench: Update span-serialize comment

Commit faecca9a85 changed the type of
block413567 from vector to span, but forgot to update the comment. Do it
now.
This commit is contained in:
MarcoFalke committed 2025-03-12 19:47:56 +01:00
1 parent fa4d6ec97b
commit ffff4a293a
1 file changed
+1 -2
+1 -2
View File
@@ -44,8 +44,7 @@ static void LoadExternalBlockFile(benchmark::Bench& bench)
auto params{testing_setup->m_node.chainman->GetParams()};
ss << params.MessageStart();
ss << static_cast<uint32_t>(benchmark::data::block413567.size());
// We can't use the streaming serialization (ss << benchmark::data::block413567)
// because that first writes a compact size.
// Use span-serialization to avoid writing the size first.
ss << std::span{benchmark::data::block413567};
// Create the test file.