Skip to content

Commit

Permalink
erase from vote_cache upon insertion into election
Browse files Browse the repository at this point in the history
  • Loading branch information
gr0vity-dev committed Nov 4, 2024
1 parent 37420ac commit 8ce7049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/node/vote_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ void nano::vote_cache_processor::run_batch (nano::unique_lock<nano::mutex> & loc
{
vote_router.vote (cached_vote, nano::vote_source::cache, hash);
}
vote_cache.erase (hash);
}
}

Expand Down

0 comments on commit 8ce7049

Please sign in to comment.