Skip to content
Snippets Groups Projects
Commit a9f0b29e authored by Luca Moser's avatar Luca Moser
Browse files

adds missing continue

parent efafcd7b
No related branches found
No related tags found
No related merge requests found
...@@ -157,11 +157,11 @@ func (f *FPC) finalizeOpinions() { ...@@ -157,11 +157,11 @@ func (f *FPC) finalizeOpinions() {
if voteCtx.IsFinalized(f.paras.CoolingOffPeriod, f.paras.FinalizationThreshold) { if voteCtx.IsFinalized(f.paras.CoolingOffPeriod, f.paras.FinalizationThreshold) {
f.events.Finalized.Trigger(id, voteCtx.LastOpinion()) f.events.Finalized.Trigger(id, voteCtx.LastOpinion())
delete(f.ctxs, id) delete(f.ctxs, id)
continue
} }
if voteCtx.Rounds >= f.paras.MaxRoundsPerVoteContext { if voteCtx.Rounds >= f.paras.MaxRoundsPerVoteContext {
f.events.Failed.Trigger(id, voteCtx.LastOpinion()) f.events.Failed.Trigger(id, voteCtx.LastOpinion())
delete(f.ctxs, id) delete(f.ctxs, id)
continue
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment