From f7d553d5a80b30530f81e2fc4a82a9cc62fb10cf Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sun, 14 Jul 2024 15:24:51 -0400 Subject: [PATCH] Remove dead code, whitespace. --- test/chain/block.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/chain/block.cpp b/test/chain/block.cpp index 2cb01eb767..d4821d7dd6 100644 --- a/test/chain/block.cpp +++ b/test/chain/block.cpp @@ -322,13 +322,10 @@ BOOST_AUTO_TEST_CASE(block__constructor__fast__success) { const auto block1 = get_block(); const auto data = block1.to_data(true); - test::reporting_arena arena{}; stream::in::fast stream(data); read::bytes::fast source(stream, &arena); const accessor block(source, true); - const chain::script foo{ source, true }; - BOOST_REQUIRE(block.is_valid()); BOOST_REQUIRE(!block.is_invalid_merkle_root()); }