diff --git a/pkg/network/server.go b/pkg/network/server.go index befc08ef4..2127691dd 100644 --- a/pkg/network/server.go +++ b/pkg/network/server.go @@ -648,7 +648,7 @@ func (s *Server) handleTxCmd(tx *transaction.Transaction) error { func (s *Server) handleAddrCmd(p Peer, addrs *payload.AddressList) error { for _, a := range addrs.Addrs { addr, err := a.GetTCPAddress() - if err != nil { + if err == nil { s.discovery.BackFill(addr) } }