From 9d8818b99404abaf9a70f07548cc2f540c26f02f Mon Sep 17 00:00:00 2001 From: Cole Brown Date: Tue, 24 Jul 2018 11:41:59 -0400 Subject: [PATCH] Remember to bootstrap immediately ;_; --- dht_bootstrap.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dht_bootstrap.go b/dht_bootstrap.go index 1b0e91ae7fa..d87f1338c95 100644 --- a/dht_bootstrap.go +++ b/dht_bootstrap.go @@ -78,6 +78,7 @@ func (dht *IpfsDHT) BootstrapWithConfig(cfg BootstrapConfig) (goprocess.Process, } proc := dht.Process().Go(func(p goprocess.Process) { + <-p.Go(dht.bootstrapWorker(cfg)).Closed() for { select { case <-time.After(cfg.Period):