From 78dd10d625981f22cc78469ab69b92ea23e9ea7e Mon Sep 17 00:00:00 2001 From: Alexander Hentschel Date: Fri, 25 Oct 2024 19:23:18 -0700 Subject: [PATCH] linted code --- consensus/hotstuff/model/proposal.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/consensus/hotstuff/model/proposal.go b/consensus/hotstuff/model/proposal.go index b5b25ccdaf2..6dcca721583 100644 --- a/consensus/hotstuff/model/proposal.go +++ b/consensus/hotstuff/model/proposal.go @@ -22,10 +22,10 @@ import ( // voting logic in Safety Rules must also operate on an unsigned Proposal. // // TODO: atm, the flow.Header embeds the LastViewTC. However, for HotStuff we have `model.Block` -// and `model.Proposal`, where the latter was introduced when we added the PaceMaker to -// vanilla HotStuff. It would be more consistent, if we added `LastViewTC` to `model.Block`, -// or even better, introduce an interface for HotStuff's notion of a block (exposing -// the fields in `model.Block` plus LastViewTC) +// and `model.Proposal`, where the latter was introduced when we added the PaceMaker to +// vanilla HotStuff. It would be more consistent, if we added `LastViewTC` to `model.Block`, +// or even better, introduce an interface for HotStuff's notion of a block (exposing +// the fields in `model.Block` plus LastViewTC) type Proposal struct { Block *Block LastViewTC *flow.TimeoutCertificate