p2p: fixup for "tail"

This commit is contained in:
Felix Lange 2016-02-19 01:11:04 +01:00
parent a62f7424f6
commit 151cf5359a
2 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ type protoHandshake struct {
ID discover.NodeID
// Ignore additional fields (for forward compatibility).
Rest []rlp.RawValue `rlp:".."`
Rest []rlp.RawValue `rlp:"tail"`
}
// Peer represents a connected remote node.

View file

@ -210,7 +210,7 @@ type authMsgV4 struct {
Version uint
// Ignore additional fields (forward-compatibility)
Rest []rlp.RawValue `rlp:".."`
Rest []rlp.RawValue `rlp:"tail"`
}
// RLPx v4 handshake response (defined in EIP-8).
@ -220,7 +220,7 @@ type authRespV4 struct {
Version uint
// Ignore additional fields (forward-compatibility)
Rest []rlp.RawValue `rlp:".."`
Rest []rlp.RawValue `rlp:"tail"`
}
// secrets is called after the handshake is completed.