diff --git a/p2p/discover/table.go b/p2p/discover/table.go index 225ca2211b..5fe8fa0e5a 100644 --- a/p2p/discover/table.go +++ b/p2p/discover/table.go @@ -309,7 +309,7 @@ func (tab *Table) addSeenNode(n *node) { select { case tab.addNodeCh <- req: <-tab.addNodeHandled - case <-tab.closed: + case <-tab.closeReq: } } @@ -326,7 +326,7 @@ func (tab *Table) addVerifiedNode(n *node) { select { case tab.addNodeCh <- req: <-tab.addNodeHandled - case <-tab.closed: + case <-tab.closeReq: } }