aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
Diffstat (limited to 'whisper')
-rw-r--r--whisper/envelope.go1
1 files changed, 1 insertions, 0 deletions
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:]