Skip to content

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

@smilingkylan

Description

@smilingkylan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions