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

Bugfix for fetching assets without a unit name #45

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

gokselcoban
Copy link
Contributor

This is a follow-up PR according to the discussion in #37

@Bhaney44
Copy link

Bhaney44 commented Nov 27, 2022

Hi @gokselcoban I am still getting an error here from line 19 with your proposed changes.

Line 19:

params = algod.asset_info(self.id)['params']

Error:

AttributeError: 'int' object has no attribute 'asset_info'

Update

New Error:

AttributeError: module 'algosdk.v2client.algod' has no attribute 'asset_info'

Updated. My issue has been resolved in #47. I believe these were ultimately different issues relating to similar functions.

@fergalwalsh fergalwalsh merged commit cd1a7db into tinymanorg:main Dec 20, 2022
@gokselcoban
Copy link
Contributor Author

Hi @Bhaney44,

What is the algosdk version? It looks like there is an asset_info function.

https://github.com/algorand/py-algorand-sdk/blob/develop/algosdk/v2client/algod.py#L109

@Bhaney44
Copy link

Hi @Bhaney44,

What is the algosdk version? It looks like there is an asset_info function.

https://github.com/algorand/py-algorand-sdk/blob/develop/algosdk/v2client/algod.py#L109

I'm not sure. I think I solved this already. Either way I moved on. Thanks anyway.

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

Successfully merging this pull request may close these issues.

3 participants