This commit is contained in:
user committed 2024-04-05 21:17:46 +03:00
1 parent f7fc873baf
commit 31860a1307
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class TonCenter:
await asyncio.sleep(0.1)
self.last_used = time.time()
response = await client.request(method, f"{self.host_v3 if v3 is True else self.host}{endpoint}", *args, **kwargs)
response = await client.request(method, f"{self.v3_host if v3 is True else self.host}{endpoint}", *args, **kwargs)
try:
if response.status_code != 200:
raise Exception(f'Error while toncenter request {endpoint}: {response.text}')