metaplex-foundation/sugar

[Bug]: inconsistent number handling in Candy Guard config

Closed this issue · 1 comments

21e8 commented

Issue description

  1. initialize config with a tokenGuard with of amount X whereas X has 9 decimals
  2. run deploy, token guard add, token guard update, token guard show ...
  3. it will show Xe9
  4. change amount to Y
  5. run token guard update token guard show ...
  6. it will show Y

Relevant log output

No response

Priority this issue should have

Medium (should be fixed soon)

21e8 commented

should be easy to fix, having a look at it