mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-03 17:39:54 +00:00
Proof: don't round amounts received
This commit is contained in:
parent
97de72b27d
commit
8022db34c6
1 changed files with 2 additions and 3 deletions
5
main.qml
5
main.qml
|
@ -872,12 +872,11 @@ ApplicationWindow {
|
||||||
informationPopup.text = qsTr("Bad signature");
|
informationPopup.text = qsTr("Bad signature");
|
||||||
informationPopup.icon = StandardIcon.Critical;
|
informationPopup.icon = StandardIcon.Critical;
|
||||||
} else if (received > 0) {
|
} else if (received > 0) {
|
||||||
received = received / 1e12
|
|
||||||
if (in_pool) {
|
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 {
|
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 {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue