diff options
Diffstat (limited to 'p2p/message.go')
-rw-r--r-- | p2p/message.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/p2p/message.go b/p2p/message.go index be6405d6f..5ab5ab73e 100644 --- a/p2p/message.go +++ b/p2p/message.go @@ -22,9 +22,10 @@ import ( // structure, encode the payload into a byte array and create a // separate Msg with a bytes.Reader as Payload for each send. type Msg struct { - Code uint64 - Size uint32 // size of the paylod - Payload io.Reader + Code uint64 + Size uint32 // size of the paylod + Payload io.Reader + ReceivedAt time.Time } // Decode parses the RLP content of a message into |