Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in reading ASAs #1

Closed
Mariichen opened this issue Jan 9, 2022 · 1 comment
Closed

Error in reading ASAs #1

Mariichen opened this issue Jan 9, 2022 · 1 comment

Comments

@Mariichen
Copy link

getting ASA ID: 163650
getting ASA ID: 300208676
getting ASA ID: 188080731

KeyError Traceback (most recent call last)
in ()
303 else:
304 print('getting ASA ID: ', str(asaID))
--> 305 asaDB.update({asaID: getAsa(str(asaID))})
306
307 #----------# Row Building

in getAsa(asaID)
282 asaDetails = asaJSON['asset']
283 asaParams = asaDetails['params']
--> 284 if asaParams['unit-name'] == 'TM1POOL':
285 asaPoolTick = asaParams['name']
286 asaPoolTickCut = asaPoolTick.zfill(12)

KeyError: 'unit-name'

@HashingSlash
Copy link
Owner

Hi, I believe I have this issue resolved now. Please let me know if it's still happening for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants