mintlayer-core icon indicating copy to clipboard operation
mintlayer-core copied to clipboard

Wallet-cli commands and rpc calls return incorrect decimal amount for tokens with non-default number of decimals.

Open ImplOfAnImpl opened this issue 1 year ago • 2 comments

E.g. if I have a token with 6 decimals and a utxo with 100 tokens of that kind, account-utxos would print something like "amount":{"atoms":"100000000","decimal":"0.001"}. I.e. the amount of atoms would be correct, but the decimal amount would be calculated using the default number of decimals. Same happens for standalone-multisig-utxos. Rpc calls, like get_multisig_utxos, also have this issue.

ImplOfAnImpl avatar Oct 03 '24 16:10 ImplOfAnImpl

Hi, @ImplOfAnImpl, sorry for leaving comment here without your agreement and respecting the team rule. Because I wanna join your team as full time dev role, so I am going to solve issues and challenges as proving of my skill. Could you give me some issue to be solved quickly as test task?

ethsdev avatar Dec 11 '24 21:12 ethsdev

Hi, @solthereum. Have a look at our open positions. If you find one that interests you, you can apply by filling in the recruitment form.

ImplOfAnImpl avatar Dec 12 '24 10:12 ImplOfAnImpl