Skip to content

Commit

Permalink
Fix lint issue with receiver name
Browse files Browse the repository at this point in the history
  • Loading branch information
Samyoul committed Jun 7, 2021
1 parent 1950f6c commit 28b6b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/messenger_maps.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ func (cm *contactMap) Delete(contactID string) {
cm.sm.Delete(contactID)
}

func (im *contactMap) Len() int {
func (cm *contactMap) Len() int {
count := 0
im.Range(func(contactID string, contact *Contact) (shouldContinue bool) {
cm.Range(func(contactID string, contact *Contact) (shouldContinue bool) {
count++
return true
})
Expand Down

0 comments on commit 28b6b93

Please sign in to comment.