Skip to content

Commit

Permalink
linted code
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Hentschel committed Oct 26, 2024
1 parent 18a36f5 commit 78dd10d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions consensus/hotstuff/model/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78dd10d

Please sign in to comment.