Skip to content

Commit

Permalink
[consensus] fix view changing ID in start (#3392)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWYX authored Oct 16, 2020
1 parent 7801a1d commit a2266d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/consensus_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func (consensus *Consensus) Start(
break
} else {
consensus.getLogger().Warn().Msg("[ConsensusMainLoop] Ops View Change Timeout!!!")
viewID := consensus.GetCurBlockViewID()
viewID := consensus.GetViewChangingID()
consensus.startViewChange(viewID + 1)
break
}
Expand Down

0 comments on commit a2266d0

Please sign in to comment.