Skip to content

Transaction Failure When Chaining addDecimals and addDefaultFrozen with Default Values in createAsset #25

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

Open
meetthosar opened this issue Mar 4, 2025 · 0 comments

Comments

@meetthosar
Copy link

In the createAsset transaction, if default values for addDecimals (set to 0) and addDefaultFrozen (set to false) are used and these functions are chained, the transaction fails.

Currently, I’ve managed this at the API level by ensuring addDecimals and addDefaultFrozen are not mandatory to chain in the function call. However, this can be confusing during debugging, even if the developer provides correct default values.

Would it be possible to handle this at the individual function level to avoid such issues?

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

1 participant