From b9bf531663e3864d8329d05b39587d9b3462aa3e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 15 Jan 2024 10:58:03 -0500 Subject: [PATCH] fix: init outgoingPeerFailures --- service/p2p.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/p2p.go b/service/p2p.go index 074ed6d..0d9a1a8 100644 --- a/service/p2p.go +++ b/service/p2p.go @@ -70,6 +70,7 @@ func NewP2P(node interfaces.Node) *P2PImpl { outgoingPeerBlocklist: structs.NewMap(), incomingPeerBlockList: structs.NewMap(), incomingIPBlocklist: structs.NewMap(), + outgoingPeerFailures: structs.NewMap(), maxOutgoingPeerFailures: node.Config().P2P.MaxOutgoingPeerFailures, }