Do not create persistent key in test.

GitOrigin-RevId: cbcd632b0d10b1b3ed09aa3e24286e1517eaaec7
This commit is contained in:
levlam 2019-07-22 06:37:26 +03:00
parent 79a38df824
commit 8853c37fe2

View File

@ -314,7 +314,7 @@ class HandshakeTestActor : public Actor {
mtproto::TransportType{mtproto::TransportType::Tcp, 0, mtproto::ProxySecret()}, nullptr);
}
if (!wait_for_handshake_ && !handshake_) {
handshake_ = make_unique<mtproto::AuthKeyHandshake>(dc_id_, 0);
handshake_ = make_unique<mtproto::AuthKeyHandshake>(dc_id_, 3600);
}
if (raw_connection_ && handshake_) {
if (wait_for_result_) {