Correct sent time with timecorrection value

This commit is contained in:
shortcutme 2018-09-05 14:32:43 +02:00
parent 21a80650b0
commit 5f1e7ffd0c
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -336,7 +336,7 @@ class Connection(object):
"rev": config.rev,
"crypt_supported": crypt_supported,
"crypt": self.crypt,
"time": int(time.time())
"time": int(time.time() + self.server.timecorrection)
}
if self.target_onion:
handshake["onion"] = self.target_onion