Skip to content

Commit

Permalink
GH-229 Remove additional unused variables in 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Sep 28, 2022
1 parent 5153211 commit 3011a2b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,6 @@ class producer_plugin_impl : public std::enable_shared_from_this<producer_plugin
}

void restart_speculative_block() {
chain::controller& chain = chain_plug->chain();

// abort the pending block
abort_block();

Expand Down
1 change: 0 additions & 1 deletion tests/chain_plugin_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ BOOST_FIXTURE_TEST_CASE( get_block_with_invalid_abi, TESTER ) try {
BOOST_FIXTURE_TEST_CASE( get_consensus_parameters, TESTER ) try {
produce_blocks(1);

chain_apis::read_only::get_info_params p;
chain_apis::read_only plugin(*(this->control), {}, fc::microseconds::maximum(), fc::microseconds::maximum(), nullptr, nullptr);

auto parms = plugin.get_consensus_parameters({}, fc::time_point::maximum());
Expand Down
1 change: 0 additions & 1 deletion unittests/state_history_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ BOOST_AUTO_TEST_CASE(test_deltas_resources_history) {

result = chain.find_table_delta("contract_row");
BOOST_REQUIRE(result.first);
auto &it_contract_row_after_delete = result.second;
BOOST_REQUIRE_EQUAL(it_contract_row->rows.obj.size(), 2);
contract_rows = chain.deserialize_data<eosio::ship_protocol::contract_row_v0, eosio::ship_protocol::contract_row>(it_contract_row);

Expand Down

0 comments on commit 3011a2b

Please sign in to comment.