Skip to content

Commit

Permalink
remove extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Jun 25, 2024
1 parent 875145b commit fbcaa97
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions p2p/pex/addrbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ func (a *addrBook) AddAddress(addr *p2p.NetAddress, src *p2p.NetAddress) error {
region, err := p2p.GetRegionFromIP(addr.IP.String())
a.curRegionQueryCount++
if err != nil {
a.Logger.Error("Failed to get region from IP", "err", err)
return err
}

Expand Down Expand Up @@ -360,7 +359,6 @@ func (a *addrBook) pickAddressInternal(biasTowardsNewAddrs int, region string, m
region, err := p2p.GetRegionFromIP(ka.Addr.IP.String())
a.curRegionQueryCount++
if err != nil {
a.Logger.Error("Failed to get region from IP", "err", err)
return nil
}
ka.Region = region
Expand Down

0 comments on commit fbcaa97

Please sign in to comment.