fix: init outgoingPeerFailures

This commit is contained in:
Derrick Hammer 2024-01-15 10:58:03 -05:00
parent 883f50b198
commit b9bf531663
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -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,
}