fix: init outgoingPeerFailures
This commit is contained in:
parent
883f50b198
commit
b9bf531663
|
@ -70,6 +70,7 @@ func NewP2P(node interfaces.Node) *P2PImpl {
|
||||||
outgoingPeerBlocklist: structs.NewMap(),
|
outgoingPeerBlocklist: structs.NewMap(),
|
||||||
incomingPeerBlockList: structs.NewMap(),
|
incomingPeerBlockList: structs.NewMap(),
|
||||||
incomingIPBlocklist: structs.NewMap(),
|
incomingIPBlocklist: structs.NewMap(),
|
||||||
|
outgoingPeerFailures: structs.NewMap(),
|
||||||
maxOutgoingPeerFailures: node.Config().P2P.MaxOutgoingPeerFailures,
|
maxOutgoingPeerFailures: node.Config().P2P.MaxOutgoingPeerFailures,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue