mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
Update encoding.go
This commit is contained in:
parent
488d987fc4
commit
3443fcfb76
1 changed files with 0 additions and 1 deletions
|
|
@ -326,7 +326,6 @@ func (c *Codec) encodeWhoareyou(toID enode.ID, packet *Whoareyou) (Header, error
|
|||
|
||||
// Create header.
|
||||
head := c.makeHeader(toID, flagWhoareyou, 0)
|
||||
head.AuthData = slices.Clone(c.buf.Bytes())
|
||||
head.Nonce = packet.Nonce
|
||||
|
||||
// Encode auth data.
|
||||
|
|
|
|||
Loading…
Reference in a new issue