Skip to content

Commit ea87584

Browse files
jjlengdavidiw
authored andcommitted
[python-sdk] Fixes a crash caused by undefined variable
1 parent d4d878f commit ea87584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecosystem/python/sdk/aptos_sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def submit_transaction(self, sender: Account, payload: Dict[str, Any]) -> str:
140140
response = self.client.post(
141141
f"{self.base_url}/transactions", headers=headers, json=txn_request
142142
)
143-
assert response.status_code == 202, f"{response.text} - {txn}"
143+
assert response.status_code == 202, f"{response.text} - {txn_request}"
144144
return response.json()["hash"]
145145

146146
def transaction_pending(self, txn_hash: str) -> bool:

0 commit comments

Comments
 (0)