From a62f7424f6e2a37b93e5203929190fbdeb7f5a5d Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 19 Feb 2016 01:10:47 +0100 Subject: [PATCH] p2p/discover: fixup for "tail" --- p2p/discover/udp.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go index 84c23ac51d..81674f5524 100644 --- a/p2p/discover/udp.go +++ b/p2p/discover/udp.go @@ -68,7 +68,7 @@ type ( From, To rpcEndpoint Expiration uint64 // Ignore additional fields (for forward compatibility). - Rest []rlp.RawValue `rlp:".."` + Rest []rlp.RawValue `rlp:"tail"` } // pong is the reply to ping. @@ -81,7 +81,7 @@ type ( ReplyTok []byte // This contains the hash of the ping packet. Expiration uint64 // Absolute timestamp at which the packet becomes invalid. // Ignore additional fields (for forward compatibility). - Rest []rlp.RawValue `rlp:".."` + Rest []rlp.RawValue `rlp:"tail"` } // findnode is a query for nodes close to the given target. @@ -89,7 +89,7 @@ type ( Target NodeID // doesn't need to be an actual public key Expiration uint64 // Ignore additional fields (for forward compatibility). - Rest []rlp.RawValue `rlp:".."` + Rest []rlp.RawValue `rlp:"tail"` } // reply to findnode @@ -97,7 +97,7 @@ type ( Nodes []rpcNode Expiration uint64 // Ignore additional fields (for forward compatibility). - Rest []rlp.RawValue `rlp:".."` + Rest []rlp.RawValue `rlp:"tail"` } rpcNode struct {