Fix force state

This commit is contained in:
Ian Gulliver
2023-06-17 08:41:22 -07:00
parent de0e769834
commit 30a0bb7b18

View File

@@ -223,7 +223,7 @@ func (c *Candidate) elect(v *vote) {
}()
if c.forceState != StateUndefined {
c.state = c.forceState
state = c.forceState
return
}