whisper: fix send timestamp omission during envelope opening

This commit is contained in:
Péter Szilágyi 2015-04-17 18:19:39 +03:00
parent 3563c59b12
commit 5aa523e32b
1 changed files with 1 additions and 0 deletions

View File

@ -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:]