fix: use outgoingPeerBlocklist

This commit is contained in:
Derrick Hammer 2024-01-15 12:09:25 -05:00
parent bbb407b0e1
commit 0ce9b139b1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ func (p *P2PImpl) ConnectToNode(connectionUris []*url.URL, retried bool, fromPee
return nil
}
if p.outgoingPeerFailures.Contains(idString) {
if p.outgoingPeerBlocklist.Contains(idString) {
p.logger.Error("outgoing peer is on blocklist", zap.String("node", connectionUri.String()))
if fromPeer != nil {