1
0

Remove debug prints
Some checks failed
Python Ruff Code Quality / ruff (push) Failing after 23s
Run Python tests (through Pytest) / Test (push) Successful in 30s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 25s

This commit is contained in:
Jon Michael Aanes 2024-12-27 21:51:23 +01:00
parent ffc95d8f99
commit e178b49df5
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -85,7 +85,6 @@ class KrakenDepoFetcher(DepoFetcher):
raise NotImplementedError("work in progress") raise NotImplementedError("work in progress")
""" """
json = self.client.query_private('DepositStatus',data={'start':1}) json = self.client.query_private('DepositStatus',data={'start':1})
print(json)
results = [] results = []
for v in json['result']: for v in json['result']:
asset = parse_asset_from_ticker(v['asset']) asset = parse_asset_from_ticker(v['asset'])
@ -134,7 +133,6 @@ def parse_from_ledger(ledger_items: list[dict[str,str]]) -> Iterator:
collected_items.setdefault(item['refid'], []).append(item) collected_items.setdefault(item['refid'], []).append(item)
for refid, items in collected_items.items(): for refid, items in collected_items.items():
print(refid, items)
assert len(items) <= 2 assert len(items) <= 2
if items[0]['type'] == 'deposit': if items[0]['type'] == 'deposit':