Skip to content

Commit

Permalink
GH-3 Fix issue with not re-locking after unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 11, 2024
1 parent 6b0c4c4 commit fba5561
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/chain/include/eosio/chain/vote_processor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit fba5561

Please sign in to comment.