diff --git a/whisper/envelope.go b/whisper/envelope.go index 07762c30047328b67e054371399c7611e7389a23..ba3e4ccc940c92250b0623da768b5e28e97b6418 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:]