OSDN Git Service

fix
authorHAOYUatHZ <haoyu@protonmail.com>
Wed, 7 Aug 2019 07:32:36 +0000 (15:32 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Wed, 7 Aug 2019 07:32:36 +0000 (15:32 +0800)
toolbar/precog/monitor/monitor.go

index 16ad1d3..a278fc5 100644 (file)
@@ -67,7 +67,7 @@ func (m *monitor) updateBootstrapNodes() {
 // p2p/test_util.go
 // p2p/switch_test.go
 func (m *monitor) discovery() {
-       mCfg := &cfg.Config{}
+       mCfg := cfg.DefaultConfig()
        // TODO: fix
        dirPath, err := ioutil.TempDir(".", "")
        if err != nil {