mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
p2p: fixup for "tail"
This commit is contained in:
parent
a62f7424f6
commit
151cf5359a
2 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ type protoHandshake struct {
|
||||||
ID discover.NodeID
|
ID discover.NodeID
|
||||||
|
|
||||||
// Ignore additional fields (for forward compatibility).
|
// Ignore additional fields (for forward compatibility).
|
||||||
Rest []rlp.RawValue `rlp:".."`
|
Rest []rlp.RawValue `rlp:"tail"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Peer represents a connected remote node.
|
// Peer represents a connected remote node.
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ type authMsgV4 struct {
|
||||||
Version uint
|
Version uint
|
||||||
|
|
||||||
// Ignore additional fields (forward-compatibility)
|
// Ignore additional fields (forward-compatibility)
|
||||||
Rest []rlp.RawValue `rlp:".."`
|
Rest []rlp.RawValue `rlp:"tail"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// RLPx v4 handshake response (defined in EIP-8).
|
// RLPx v4 handshake response (defined in EIP-8).
|
||||||
|
|
@ -220,7 +220,7 @@ type authRespV4 struct {
|
||||||
Version uint
|
Version uint
|
||||||
|
|
||||||
// Ignore additional fields (forward-compatibility)
|
// Ignore additional fields (forward-compatibility)
|
||||||
Rest []rlp.RawValue `rlp:".."`
|
Rest []rlp.RawValue `rlp:"tail"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// secrets is called after the handshake is completed.
|
// secrets is called after the handshake is completed.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue