From 8022db34c641a88410ca6f22715be8a955fe110b Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 8 Jan 2019 10:07:50 +0100 Subject: [PATCH] Proof: don't round amounts received --- main.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.qml b/main.qml index d23cb5e5..fde47288 100644 --- a/main.qml +++ b/main.qml @@ -872,12 +872,11 @@ ApplicationWindow { informationPopup.text = qsTr("Bad signature"); informationPopup.icon = StandardIcon.Critical; } else if (received > 0) { - received = received / 1e12 if (in_pool) { - informationPopup.text = qsTr("This address received %1 monero, but the transaction is not yet mined").arg(received); + informationPopup.text = qsTr("This address received %1 monero, but the transaction is not yet mined").arg(walletManager.displayAmount(received)); } else { - informationPopup.text = qsTr("This address received %1 monero, with %2 confirmation(s).").arg(received).arg(confirmations); + informationPopup.text = qsTr("This address received %1 monero, with %2 confirmation(s).").arg(walletManager.displayAmount(received)).arg(confirmations); } } else {