mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
p2p/discover/v5wire: change comment
This commit is contained in:
parent
73d67bd768
commit
40be7ab5e3
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ func (c *Codec) Encode(id enode.ID, addr string, packet Packet, challenge *Whoar
|
|||
if len(w.ChallengeData) > 0 {
|
||||
// This WHOAREYOU packet was encoded before, so it's a resend.
|
||||
// The unmasked packet content is stored in w.ChallengeData.
|
||||
// Just apply the masking again here to get back the complete encoding.
|
||||
// Just apply the masking again to finish encoding.
|
||||
c.buf.Reset()
|
||||
c.buf.Write(w.ChallengeData)
|
||||
copy(head.IV[:], w.ChallengeData)
|
||||
|
|
|
|||
Loading…
Reference in a new issue