From 5f735d6fce10b4552b0a6d3eb6503c5a302f4f61 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Thu, 23 Apr 2015 18:47:24 +0300 Subject: cmd, eth, p2p, p2p/discover: init and clean up the seed cache --- p2p/discover/node.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'p2p/discover/node.go') diff --git a/p2p/discover/node.go b/p2p/discover/node.go index d8a5cc351..3e79ddb53 100644 --- a/p2p/discover/node.go +++ b/p2p/discover/node.go @@ -387,3 +387,7 @@ func (db *nodeDB) add(id NodeID, addr *net.UDPAddr, tcpPort uint16) *Node { db.update(n) return n } + +func (db *nodeDB) close() { + db.ldb.Close() +} -- cgit