yeref 0.24.12__tar.gz → 0.24.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {yeref-0.24.12 → yeref-0.24.13}/PKG-INFO +1 -1
- {yeref-0.24.12 → yeref-0.24.13}/setup.py +1 -1
- {yeref-0.24.12 → yeref-0.24.13}/yeref/yeref.py +4 -6
- {yeref-0.24.12 → yeref-0.24.13}/yeref.egg-info/PKG-INFO +1 -1
- {yeref-0.24.12 → yeref-0.24.13}/pyproject.toml +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/setup.cfg +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/yeref/__init__.py +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/yeref/l_.py +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/yeref/tonweb.js +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/yeref.egg-info/SOURCES.txt +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/yeref.egg-info/dependency_links.txt +0 -0
- {yeref-0.24.12 → yeref-0.24.13}/yeref.egg-info/top_level.txt +0 -0
@@ -8444,16 +8444,14 @@ async def calculate_wallet_address(owner, master, KEYS_JSON, is_test_only=False)
|
|
8444
8444
|
# }
|
8445
8445
|
# ])
|
8446
8446
|
elif provider == "toncenter":
|
8447
|
-
key = it
|
8448
|
-
|
8447
|
+
key = next((it['testnet'] if is_test_only else it['mainnet']) for it in keys if
|
8448
|
+
(is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8449
|
+
print(f"{key=}")
|
8449
8450
|
if key:
|
8450
8451
|
items.append([
|
8451
8452
|
'toncenter',
|
8452
8453
|
f'https://{pfx_testnet}toncenter.com/api/v3/jetton/wallets?owner_address={owner}&jetton_address={master}&limit=1&offset=0',
|
8453
|
-
{
|
8454
|
-
'accept': 'application/json',
|
8455
|
-
'X-API-Key': key
|
8456
|
-
}
|
8454
|
+
{'accept': 'application/json', 'X-API-Key': key}
|
8457
8455
|
])
|
8458
8456
|
|
8459
8457
|
while True:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|