display ENR

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

View File

@ -95,9 +95,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"), "")
}