Skip to content

Commit

Permalink
remove the obsolete context objects from State struct
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Aug 16, 2021
1 parent 0dd0aba commit 2650953
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ type State struct {

// for reporting metrics
metrics *Metrics

// context of the recent proposed block
proposalCtx context.Context
proposalCancel context.CancelFunc
}

// StateOption sets an optional parameter on the State.
Expand Down
Empty file.

0 comments on commit 2650953

Please sign in to comment.