diff options
Diffstat (limited to 'p2p/peer.go')
-rw-r--r-- | p2p/peer.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/p2p/peer.go b/p2p/peer.go index 72ed4069c..b9d6c099d 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -56,6 +56,9 @@ type protoHandshake struct { Caps []Cap ListenPort uint64 ID discover.NodeID + + // Ignore additional fields (for forward compatibility). + Rest []rlp.RawValue `rlp:"tail"` } // Peer represents a connected remote node. |