Fix comments from review

This commit is contained in:
Jae Kwon
2016-09-06 09:08:10 -07:00
committed by Ethan Buchman
parent ea4b60a602
commit fd128c7180
2 changed files with 2 additions and 4 deletions

View File

@ -476,8 +476,6 @@ func (cs *ConsensusState) reconstructLastCommit(state *sm.State) {
if precommit == nil {
continue
}
// XXX reconstruct Vote from precommit after changing precommit to simpler
// structure.
added, err := lastPrecommits.AddVote(precommit)
if !added || err != nil {
PanicCrisis(Fmt("Failed to reconstruct LastCommit: %v", err))