Skip to content

Commit

Permalink
GH-264 Remove unused num_blocks_to_producer_before_shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jun 12, 2024
1 parent c9ac817 commit ced0a98
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libraries/testing/include/eosio/testing/tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,6 @@ namespace eosio::testing {
return;
}
try {
if( num_blocks_to_producer_before_shutdown > 0 )
produce_blocks( num_blocks_to_producer_before_shutdown );
if (!skip_validate && std::uncaught_exceptions() == 0)
BOOST_CHECK_EQUAL( validate(), true );
} catch( const fc::exception& e ) {
Expand Down Expand Up @@ -788,7 +786,6 @@ namespace eosio::testing {
}

unique_ptr<controller> validating_node;
uint32_t num_blocks_to_producer_before_shutdown = 0;
bool skip_validate = false;
};

Expand Down

0 comments on commit ced0a98

Please sign in to comment.