display ENR

This commit is contained in:
Richard Ramos 2021-09-27 18:50:19 -04:00
parent ebcbff62eb
commit 682be9b1e5
No known key found for this signature in database
GPG Key ID: 80D4B01265FDFE8F

View File

@ -100,9 +100,6 @@ var rootCmd = &cobra.Command{
prvKey, err := crypto.HexToECDSA(key)
checkError(err, "error converting key into valid ecdsa key")
// TODO: this ENR record might be necessary later for DNS discovery
// enr := enode.NewV4(&prvKey.PublicKey, hostAddr.IP, hostAddr.Port, 0)
if dbPath == "" && useDB {
checkError(errors.New("dbpath can't be null"), "")
}