OSDN Git Service

clean up
authorHAOYUatHZ <haoyu@protonmail.com>
Wed, 28 Aug 2019 02:26:43 +0000 (10:26 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Wed, 28 Aug 2019 02:26:43 +0000 (10:26 +0800)
toolbar/precog/monitor/monitor.go

index 12c937a..b0de9a2 100644 (file)
@@ -35,9 +35,8 @@ type monitor struct {
        chain   *mock.Chain
        txPool  *mock.Mempool
        // discvMap maps a node's public key to the node itself
-       discvMap map[string]*dht.Node
-       dialCh   chan struct{}
-       // TODO: maybe remove?
+       discvMap      map[string]*dht.Node
+       dialCh        chan struct{}
        checkStatusCh chan struct{}
 }