From a62aa293c5eb87962c770e8d33af96d7f6629aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 9 Dec 2022 10:03:20 +0100 Subject: [PATCH] mod tidy, fix lint --- go.mod | 2 +- node/modules/tracer/tracer.go | 2 +- node/modules/tracer/tracer_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index f8f875350ed..baf21b7c4c1 100644 --- a/go.mod +++ b/go.mod @@ -114,6 +114,7 @@ require ( github.com/libp2p/go-buffer-pool v0.1.0 github.com/libp2p/go-libp2p v0.23.2 github.com/libp2p/go-libp2p-consensus v0.0.1 + github.com/libp2p/go-libp2p-core v0.20.1 github.com/libp2p/go-libp2p-gorpc v0.4.0 github.com/libp2p/go-libp2p-kad-dht v0.18.0 github.com/libp2p/go-libp2p-pubsub v0.8.2 @@ -262,7 +263,6 @@ require ( github.com/libp2p/go-flow-metrics v0.1.0 // indirect github.com/libp2p/go-libp2p-asn-util v0.2.0 // indirect github.com/libp2p/go-libp2p-connmgr v0.4.0 // indirect - github.com/libp2p/go-libp2p-core v0.20.1 // indirect github.com/libp2p/go-libp2p-gostream v0.5.0 // indirect github.com/libp2p/go-libp2p-kbucket v0.5.0 // indirect github.com/libp2p/go-libp2p-noise v0.5.0 // indirect diff --git a/node/modules/tracer/tracer.go b/node/modules/tracer/tracer.go index e31b4ea5246..0d0a156d93a 100644 --- a/node/modules/tracer/tracer.go +++ b/node/modules/tracer/tracer.go @@ -4,9 +4,9 @@ import ( "time" logging "github.com/ipfs/go-log/v2" - "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb" + "github.com/libp2p/go-libp2p/core/peer" ) var log = logging.Logger("lotus-tracer") diff --git a/node/modules/tracer/tracer_test.go b/node/modules/tracer/tracer_test.go index d5faf8a6237..7ade678615b 100644 --- a/node/modules/tracer/tracer_test.go +++ b/node/modules/tracer/tracer_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb" + "github.com/libp2p/go-libp2p/core/peer" "github.com/stretchr/testify/require" )