Address lint issues as a result of libp2p deprecations and tidy go mod

Address staticcheck issues caused by deprecated APIs and `go mod tidy`.
This commit is contained in:
Masih H. Derkani
2022-06-29 14:55:35 -04:00
committed by Aayush
parent 57ed804304
commit 39a710e1d6
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -11,9 +11,9 @@ import (
"github.com/libp2p/go-libp2p-core/network"
"github.com/libp2p/go-libp2p-core/peer"
"github.com/libp2p/go-libp2p-core/protocol"
swarm "github.com/libp2p/go-libp2p-swarm"
basichost "github.com/libp2p/go-libp2p/p2p/host/basic"
"github.com/libp2p/go-libp2p/p2p/net/conngater"
"github.com/libp2p/go-libp2p/p2p/net/swarm"
"github.com/libp2p/go-libp2p/p2p/protocol/ping"
ma "github.com/multiformats/go-multiaddr"
"go.uber.org/fx"