OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da004f
)
clean up
author
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 02:26:43 +0000
(10:26 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 02:26:43 +0000
(10:26 +0800)
toolbar/precog/monitor/monitor.go
patch
|
blob
|
history
diff --git
a/toolbar/precog/monitor/monitor.go
b/toolbar/precog/monitor/monitor.go
index
12c937a
..
b0de9a2
100644
(file)
--- a/
toolbar/precog/monitor/monitor.go
+++ b/
toolbar/precog/monitor/monitor.go
@@
-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{}
}