提交 4ca2763e 作者: Hlib 提交者: Steven Allen

Remove Repo from routing provider parameter

上级 1a32379c
...@@ -14,7 +14,6 @@ import ( ...@@ -14,7 +14,6 @@ import (
"go.uber.org/fx" "go.uber.org/fx"
"github.com/ipfs/go-ipfs/core/node/helpers" "github.com/ipfs/go-ipfs/core/node/helpers"
"github.com/ipfs/go-ipfs/repo"
) )
type BaseIpfsRouting routing.Routing type BaseIpfsRouting routing.Routing
...@@ -79,7 +78,6 @@ type p2pPSRoutingIn struct { ...@@ -79,7 +78,6 @@ type p2pPSRoutingIn struct {
fx.In fx.In
BaseIpfsRouting BaseIpfsRouting BaseIpfsRouting BaseIpfsRouting
Repo repo.Repo
Validator record.Validator Validator record.Validator
Host host.Host Host host.Host
PubSub *pubsub.PubSub `optional:"true"` PubSub *pubsub.PubSub `optional:"true"`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论