diff options
| author | selsta <selsta@sent.at> | 2019-01-08 10:07:50 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-01-08 10:07:50 +0100 |
| commit | 8022db34c641a88410ca6f22715be8a955fe110b (patch) | |
| tree | b840edfa2fc223c216b7d71f3e61588c270cc037 | |
| parent | 97de72b27d56e7869c5e3c13ed3a15db033d0043 (diff) | |
| download | monzero-gui-8022db34c641a88410ca6f22715be8a955fe110b.tar.gz monzero-gui-8022db34c641a88410ca6f22715be8a955fe110b.tar.xz monzero-gui-8022db34c641a88410ca6f22715be8a955fe110b.zip | |
Proof: don't round amounts received
| -rw-r--r-- | main.qml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 { |
