mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
reviewers input
This commit is contained in:
parent
90f011fbbc
commit
5e60ff7a47
2 changed files with 3 additions and 3 deletions
|
|
@ -13,11 +13,11 @@ import (
|
|||
// XOF defines the interface to hash functions that
|
||||
// support arbitrary-length output.
|
||||
type XOF interface {
|
||||
// Writer absorbs more data into the hash's state. It panics if called
|
||||
// Write absorbs more data into the hash's state. It panics if called
|
||||
// after Read.
|
||||
io.Writer
|
||||
|
||||
// Reader reads more output from the hash. It returns io.EOF if the limit
|
||||
// Read reads more output from the hash. It returns io.EOF if the limit
|
||||
// has been reached.
|
||||
io.Reader
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ type (
|
|||
Nonce Nonce
|
||||
}
|
||||
|
||||
// Whoareyou contains the handshake challenge.
|
||||
// WHOAREYOU contains the handshake challenge.
|
||||
Whoareyou struct {
|
||||
ChallengeData []byte // Encoded challenge
|
||||
Nonce Nonce // Nonce of request packet
|
||||
|
|
|
|||
Loading…
Reference in a new issue