diff --git a/.gitignore b/.gitignore index 802c547e..30d15ae7 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,5 @@ profile.cov profile.tmp .DS_Store + +main* diff --git a/server.go b/server.go index b2553703..c9be3f09 100644 --- a/server.go +++ b/server.go @@ -419,7 +419,8 @@ func (s *server) Start() error { // If network bootstrapping hasn't been disabled, then we'll configure // the set of active bootstrappers, and launch a dedicated goroutine to // maintain a set of persistent connections. - if !cfg.NoNetBootstrap && !(cfg.Bitcoin.SimNet || cfg.Litecoin.SimNet) { + if !cfg.NoNetBootstrap && !(cfg.Bitcoin.SimNet || cfg.Litecoin.SimNet) && + !(cfg.Bitcoin.RegTest || cfg.Litecoin.RegTest) { networkBootStrappers, err := initNetworkBootstrappers(s) if err != nil { return err