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

Cannot mint new treasury tokens for treasury with zero decimals #27

Open
smilingkylan opened this issue Dec 1, 2023 · 0 comments
Open

Comments

@smilingkylan
Copy link
Contributor

Describe the bug
When you create a treasury that uses zero decimals, the mint action does not work properly.

To Reproduce

  • Create a new treasury with a supply that has zero decimals
  • Register as a voter
  • Attempt to mint some treasury tokens
  • You will get an "assertion failure with message: attempt to add asset with different symbol"

Expected behavior
Expect the amount of tokens to be minted... works fine with treasuries that have decimals (eg 4 decimal places)

Screenshots
telegram-cloud-photo-size-1-5139097162334972994-y

Additional context
n/a

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