Merge pull request #6395 from Wondertan/fix/unused-repo

Remove Repo from routing fx provider parameter
This commit is contained in:
Steven Allen 2019-06-03 20:13:28 -07:00 committed by GitHub
commit ff3efe8409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,6 @@ import (
"go.uber.org/fx"
"github.com/ipfs/go-ipfs/core/node/helpers"
"github.com/ipfs/go-ipfs/repo"
)
type BaseIpfsRouting routing.Routing
@ -79,7 +78,6 @@ type p2pPSRoutingIn struct {
fx.In
BaseIpfsRouting BaseIpfsRouting
Repo repo.Repo
Validator record.Validator
Host host.Host
PubSub *pubsub.PubSub `optional:"true"`