mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
p2p/enr: fix build
This commit is contained in:
parent
57b455556c
commit
96431d83c9
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ func (r *Record) verifySignature() error {
|
|||
// Get identity scheme, public key, signature.
|
||||
var id ID
|
||||
var secp256k1 Secp256k1
|
||||
if ok, err := r.Load(&id); err != nil {
|
||||
if _, err := r.Load(&id); err != nil {
|
||||
return err
|
||||
} else if id != ID_SECP256k1_KECCAK {
|
||||
return errNoID
|
||||
|
|
|
|||
Loading…
Reference in a new issue