Fix test/p2p/pex circle tests; update consensus

This commit is contained in:
Jae Kwon
2018-06-27 14:31:42 -07:00
parent 8524a8da7f
commit b51ed132f7
6 changed files with 16 additions and 18 deletions

View File

@ -1623,7 +1623,7 @@ func (cs *ConsensusState) addVote(vote *types.Vote, peerID p2p.ID) (added bool,
}
} else if cs.Round <= vote.Round && precommits.HasTwoThirdsAny() {
cs.enterNewRound(height, vote.Round)
cs.enterPrevote(height, vote.Round)
cs.enterPropose(height, vote.Round)
cs.enterPrevoteWait(height, vote.Round)
cs.enterPrecommitWait(height, vote.Round)
}