diff --git a/internal/p2p/p2ptest/network.go b/internal/p2p/p2ptest/network.go index 413188f93..9115b70ee 100644 --- a/internal/p2p/p2ptest/network.go +++ b/internal/p2p/p2ptest/network.go @@ -243,6 +243,7 @@ func (n *Network) MakeNode(t *testing.T, opts NodeOptions) *Node { RetryTimeJitter: time.Millisecond, MaxPeers: opts.MaxPeers, MaxConnected: opts.MaxConnected, + Metrics: p2p.NopMetrics(), }) require.NoError(t, err)