Unverified Commit 099c43eb authored by Sam's avatar Sam

fix low peers before starting refresh manager

parent e9a7da27
......@@ -216,6 +216,8 @@ func New(ctx context.Context, h host.Host, options ...Option) (*IpfsDHT, error)
// handle providers
dht.proc.AddChild(dht.ProviderManager.Process())
dht.fixLowPeers()
if err := dht.rtRefreshManager.Start(); err != nil {
return nil, err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment