Skip to content

Commit

Permalink
Update lib/grandpa/message_tracker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Timothy Wu <[email protected]>
  • Loading branch information
qdm12 and timwu20 committed May 17, 2022
1 parent c6ccd6a commit e67e6c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/grandpa/message_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func (t *tracker) handleBlock(b *types.Block) {
}
}

// delete block hash that may or may not be in the tracker.
t.votes.delete(h)

if cm, has := t.commitMessages[h]; has {
Expand Down

0 comments on commit e67e6c4

Please sign in to comment.