mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
fix(dht) remove deprecated Start() call
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user