Skip to content

Commit

Permalink
GH-592 Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 16, 2023
1 parent ba0f168 commit 1381a0f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions libraries/state_history/include/eosio/state_history/log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,6 @@ class state_history_log {
}
}


void acquire_lock(std::optional<std::unique_lock<std::mutex>>& lock) {
lock.emplace(rewrite_mx);
}

void stop() {
}

~state_history_log() {
//nothing to do if log is empty or we aren't pruning
if(_begin_block == _end_block)
Expand Down
2 changes: 0 additions & 2 deletions plugins/state_history_plugin/state_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,6 @@ void state_history_plugin::plugin_shutdown() {
my->block_start_connection.reset();
std::for_each(my->session_set.begin(), my->session_set.end(), [](auto& s){ s->close(); } );
my->stopping = true;
my->trace_log->stop();
my->chain_state_log->stop();
my->thread_pool.stop();
}

Expand Down

0 comments on commit 1381a0f

Please sign in to comment.