提交 b77a785c 作者: Brian Tiger Chow

fix(dht) remove deprecated Start() call

上级 20802018
......@@ -117,9 +117,6 @@ func NewIpfsNode(cfg *config.Config, online bool) (*IpfsNode, error) {
// TODO(brian): perform this inside NewDHT factory method
dhtService.Handler = route // wire the handler to the service.
// TODO(brian): pass a context to DHT for its async operations
route.Start()
// TODO(brian): pass a context to bs for its async operations
exchangeSession = bitswap.NewSession(ctx, exchangeService, local, d, route)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论