Merge pull request #2997

f1b4eb6 history: remove trailing zeros in amount + fix amount display (rating89us)
This commit is contained in:
luigi1111 2020-07-08 13:57:44 -05:00
commit b7b1221221
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -1511,7 +1511,7 @@ Rectangle {
"i": i,
"isout": isout,
"amount": Number(amount),
"displayAmount": displayAmount + " XMR",
"displayAmount": Utils.removeTrailingZeros(displayAmount.toFixed(12)) + " XMR",
"hash": hash,
"paymentId": paymentId,
"address": address,