diff --git a/libraries/chain/include/eosio/chain/vote_processor.hpp b/libraries/chain/include/eosio/chain/vote_processor.hpp index 288bc155e9..90719df5d4 100644 --- a/libraries/chain/include/eosio/chain/vote_processor.hpp +++ b/libraries/chain/include/eosio/chain/vote_processor.hpp @@ -180,6 +180,8 @@ class vote_processor_t { } if (should_break) break; + g.lock(); + i = idx.begin(); } else { not_in_forkdb_id = vt->id(); if (skip_all_for_block(idx, i, (*i)->id()))