Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/bft/heartbeatmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (hm *HeartbeatMonitor) InjectArtificialHeartbeat(sender uint64, msg *smartb
}

func (hm *HeartbeatMonitor) StopLeaderSendMsg() {
hm.logger.Infof("Changing role to folower without change current view and current leader")
hm.logger.Infof("Changing role to follower without change current view and current leader")
select {
case hm.commandChan <- roleChange{
onlyStopSendHeartbearFromLeader: true,
Expand Down
2 changes: 1 addition & 1 deletion internal/bft/viewchanger.go
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ func (v *ViewChanger) validateNewViewMsg(msg *protos.NewView) (valid bool, sync
}

if lastDecisionMD.LatestSequence > mySequence+1 { // this is a decision in the future, can't verify it and should sync
v.Synchronizer.Sync() // TODO check if I manged to sync to latest decision, revalidate new view, and join the other nodes
v.Synchronizer.Sync() // TODO check if I managed to sync to latest decision, revalidate new view, and join the other nodes
return true, true, false
}

Expand Down