Skip to content

Commit

Permalink
sheeeet
Browse files Browse the repository at this point in the history
  • Loading branch information
Wondertan committed Aug 3, 2023
1 parent 6d37aa7 commit fec61a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nodebuilder/p2p/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/libp2p/go-libp2p"
"github.com/libp2p/go-libp2p/core/network"
rcmgr "github.com/libp2p/go-libp2p/p2p/host/resource-manager"
rcmgrObs "github.com/libp2p/go-libp2p/p2p/host/resource-manager/obs"
ma "github.com/multiformats/go-multiaddr"
madns "github.com/multiformats/go-multiaddr-dns"
"go.uber.org/fx"
Expand Down Expand Up @@ -60,7 +59,7 @@ func allowList(ctx context.Context, cfg Config, bootstrappers Bootstrappers) (rc
}

func traceReporter() rcmgr.Option {
str, err := rcmgrObs.NewStatsTraceReporter()
str, err := rcmgr.NewStatsTraceReporter()
if err != nil {
panic(err) // err is always nil as per sources
}
Expand Down

0 comments on commit fec61a7

Please sign in to comment.