LedgerHQ/ledger-live-common

Wrong DOGE transaction fee displayed

Opened this issue · 3 comments

A transaction has happened with a fee of 3 DOGE: https://dogechain.info/tx/10bde6fdef8770060663d51d999c8cdf37c194c11260d26ac9669e802d1ac166

However Ledger Live displays this as wrong fee:

F59D4AFD-BDBB-465C-B58C-AE9D6C8FFF32

Please note that this also applied to other currencies on transactions - a fee is rounded.

Would it be possible to display an accurate fee?

gre commented

one of the main issue of not rounding the fee is Ethereum. it have 18 magnitude. if we start doing this we will see a huge number of digits, possibly breaking the UI.
what's the reason to display the precise amount at this stage? at the end it should however display correctly when you "confirm" with the device and therefore it doesn't feel much an issue.

however, it's weird that a 3 DOGE gets rounded to 2.9999

Ideally I'd want to see precise amounts of both operation and its fee.

For example, even on a list of operations I'd like to see 0.075234 but not 0.07523 as it is now. Although, when accessing operation details you can then see the exact ammount.

I somehow thought max is 8 digits, but if its 18 then it's problematic.

At least it could identify with a ~ symbol that it is rounded.