Skip to content

Commit

Permalink
Use addrEqual for candidate comparison (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwe authored Jan 13, 2025
1 parent c9abe8b commit abdc0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candidate_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ func (c *candidateBase) Equal(other Candidate) bool {
if c.addr() == nil || other.addr() == nil {
return false
}
if c.addr().String() != other.addr().String() {
if !addrEqual(c.addr(), other.addr()) {
return false
}
}
Expand Down

0 comments on commit abdc0ca

Please sign in to comment.