p2p/discover: remove unused function

This commit is contained in:
Felix Lange
2019-02-19 13:29:19 +01:00
parent f7f6a46029
commit cf147c71d5
2 changed files with 2 additions and 9 deletions

View File

@ -624,6 +624,8 @@ func (tn *preminedTestnet) findnode(toid enode.ID, toaddr *net.UDPAddr, target e
func (*preminedTestnet) close() {}
func (*preminedTestnet) ping(toid enode.ID, toaddr *net.UDPAddr) error { return nil }
var _ = (*preminedTestnet).mine // avoid linter warning about mine being dead code.
// mine generates a testnet struct literal with nodes at
// various distances to the given target.
func (tn *preminedTestnet) mine(target encPubkey) {