Skip to content

Commit

Permalink
Remove dead code, whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jul 14, 2024
1 parent df2e4da commit f7d553d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/chain/block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<false> 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());
}
Expand Down

0 comments on commit f7d553d

Please sign in to comment.