Skip to content

Commit

Permalink
remove minor diff
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjbrettj committed Oct 7, 2024
1 parent bebc708 commit 0c0cbb8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/grandpa/message_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ func newTracker(bs BlockState, handler *MessageHandler) *tracker {
commitsCapacity = 1000
)
return &tracker{
blockState: bs,
handler: handler,
votes: newVotesTracker(votesCapacity),
commits: newCommitsTracker(commitsCapacity),
in: bs.GetImportedBlockNotifierChannel(),
stopped: make(chan struct{}),

blockState: bs,
handler: handler,
votes: newVotesTracker(votesCapacity),
commits: newCommitsTracker(commitsCapacity),
in: bs.GetImportedBlockNotifierChannel(),
stopped: make(chan struct{}),
catchUpResponseMessages: make(map[uint64]*CatchUpResponse),
}
}
Expand Down

0 comments on commit 0c0cbb8

Please sign in to comment.