mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
p2p/enr: remove redundant check
This commit is contained in:
parent
94f19f20c6
commit
57b455556c
1 changed files with 0 additions and 2 deletions
|
|
@ -237,8 +237,6 @@ func (r *Record) verifySignature() error {
|
|||
var secp256k1 Secp256k1
|
||||
if ok, err := r.Load(&id); err != nil {
|
||||
return err
|
||||
} else if !ok {
|
||||
return fmt.Errorf("can't verify signature: missing %q key", id.ENRKey())
|
||||
} else if id != ID_SECP256k1_KECCAK {
|
||||
return errNoID
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue