1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 18:13:54 +08:00

fix(dht) remove deprecated Start() call

This commit is contained in:
Brian Tiger Chow
2014-09-17 20:05:47 -07:00
parent 20802018a6
commit b77a785cd8

View File

@ -117,9 +117,6 @@ func NewIpfsNode(cfg *config.Config, online bool) (*IpfsNode, error) {
// TODO(brian): perform this inside NewDHT factory method // TODO(brian): perform this inside NewDHT factory method
dhtService.Handler = route // wire the handler to the service. 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 // TODO(brian): pass a context to bs for its async operations
exchangeSession = bitswap.NewSession(ctx, exchangeService, local, d, route) exchangeSession = bitswap.NewSession(ctx, exchangeService, local, d, route)