From 5244e962d199fc060ea587f2dbc714260609df97 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 4 Jan 2018 16:30:29 +0100 Subject: [PATCH] Fix reformatted functions names --- pyrogram/session/auth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyrogram/session/auth.py b/pyrogram/session/auth.py index 7c6abcf1..cedf47fb 100644 --- a/pyrogram/session/auth.py +++ b/pyrogram/session/auth.py @@ -125,7 +125,7 @@ class Auth: # Step 5. TODO: Handle "server_DH_params_fail". Code assumes response is ok log.debug("Send req_DH_params") server_dh_params = self.send( - functions.ReqDhParams( + functions.ReqDHParams( nonce, server_nonce, int.to_bytes(p, 4, "big"), @@ -171,7 +171,7 @@ class Auth: retry_id = 0 - data = types.ClientDhInnerData( + data = types.ClientDHInnerData( nonce, server_nonce, retry_id, @@ -185,7 +185,7 @@ class Auth: log.debug("Send set_client_DH_params") set_client_dh_params_answer = self.send( - functions.SetClientDhParams( + functions.SetClientDHParams( nonce, server_nonce, encrypted_data