From 5aa523e32bedd923c4075a21daefd1b4a512277c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Fri, 17 Apr 2015 18:19:39 +0300 Subject: [PATCH] whisper: fix send timestamp omission during envelope opening --- whisper/envelope.go | 1 + 1 file changed, 1 insertion(+) diff --git a/whisper/envelope.go b/whisper/envelope.go index 07762c300..ba3e4ccc9 100644 --- a/whisper/envelope.go +++ b/whisper/envelope.go @@ -72,6 +72,7 @@ func (self *Envelope) Open(key *ecdsa.PrivateKey) (msg *Message, err error) { message := &Message{ Flags: data[0], + Sent: int64(self.Expiry - self.TTL), } data = data[1:]