Send my local time as int in the handshake

This commit is contained in:
shortcutme 2018-03-14 22:25:27 +01:00
parent 2204e0cf9c
commit 4586d3be78
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

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