From 7a03626156acb84867057643234d5aa5b1affe0b Mon Sep 17 00:00:00 2001 From: Leander Student Date: Wed, 5 Nov 2025 08:36:42 +0100 Subject: [PATCH] fix: do not send NewView without timeout --- protocol/synchronizer/synchronizer.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/synchronizer/synchronizer.go b/protocol/synchronizer/synchronizer.go index ece785fa7..7ca0ce296 100644 --- a/protocol/synchronizer/synchronizer.go +++ b/protocol/synchronizer/synchronizer.go @@ -307,6 +307,9 @@ func (s *Synchronizer) advanceView(syncInfo hotstuff.SyncInfo) { } return } + if !timeout { + return + } if err := s.sender.NewView(leader, syncInfo); err != nil { s.logger.Warnf("advanceView: error on sending new view: %v", err) }