Fix ProxySecret::get_encoded_secret.

GitOrigin-RevId: 0eeb524a0f710efe8ad04311f61c794345ba56ac
This commit is contained in:
levlam 2019-09-02 16:50:19 +03:00
parent 2f52861c20
commit 888b0206ac

View File

@ -39,7 +39,7 @@ string ProxySecret::get_encoded_secret() const {
if (emulate_tls()) {
return base64url_encode(secret_);
}
return buffer_to_hex(secret_);
return hex_encode(secret_);
}
} // namespace mtproto