Skip to content

Commit

Permalink
GH-2021 Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 3, 2024
1 parent c4ed79a commit 8fe4f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ namespace eosio {
void start_monitors();

// we currently pause on snapshot generation
void wait_if_paused() {
void wait_if_paused() const {
controller& cc = chain_plug->chain();
while (cc.is_writing_snapshot()) {
std::this_thread::sleep_for(std::chrono::milliseconds(10));
Expand Down

0 comments on commit 8fe4f3c

Please sign in to comment.