Skip to content

Commit

Permalink
GH-459 Fix mutex warning
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Aug 2, 2024
1 parent ef1e4b2 commit 406b877
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 @@ -2158,7 +2158,7 @@ namespace eosio {
*/
connection_ptr new_sync_source = (conn && conn->current()) ? conn : find_next_sync_node();

auto reset_on_failure = [&]() {
auto reset_on_failure = [&]() REQUIRES(sync_mtx) {
sync_source.reset();
sync_known_lib_num = chain_info.lib_num;
sync_last_requested_num = 0;
Expand Down

0 comments on commit 406b877

Please sign in to comment.