We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb4c52 commit 5244e96Copy full SHA for 5244e96
1 file changed
pyrogram/session/auth.py
@@ -125,7 +125,7 @@ def create(self):
125
# Step 5. TODO: Handle "server_DH_params_fail". Code assumes response is ok
126
log.debug("Send req_DH_params")
127
server_dh_params = self.send(
128
- functions.ReqDhParams(
+ functions.ReqDHParams(
129
nonce,
130
server_nonce,
131
int.to_bytes(p, 4, "big"),
@@ -171,7 +171,7 @@ def create(self):
171
172
retry_id = 0
173
174
- data = types.ClientDhInnerData(
+ data = types.ClientDHInnerData(
175
176
177
retry_id,
@@ -185,7 +185,7 @@ def create(self):
185
186
log.debug("Send set_client_DH_params")
187
set_client_dh_params_answer = self.send(
188
- functions.SetClientDhParams(
+ functions.SetClientDHParams(
189
190
191
encrypted_data
0 commit comments