Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Jul 31, 2023
1 parent f34d131 commit 4b533d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/polybft/slashing/double_signing_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Messages struct {
mux sync.RWMutex
}

// getSenderMsgsLocked returns commit messages for given height, round and sender
// getSenderMsgsLocked returns messages for given height, round and sender
func (m *Messages) getSenderMsgsLocked(view *ibftProto.View, sender types.Address) []*ibftProto.Message {
if roundMsgs, ok := m.content[view.Height]; ok {
if senderMsgsMap, ok := roundMsgs[view.Round]; ok {
Expand Down

0 comments on commit 4b533d8

Please sign in to comment.