mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-24 18:50:24 +02:00
Number comparison should be float
This commit is contained in:
parent
47dc499413
commit
86746a1563
@ -350,7 +350,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// There are sufficient unlocked funds available
|
// There are sufficient unlocked funds available
|
||||||
if(parseInt(amountLine.text) > parseInt(unlockedBalanceText)){
|
if(parseFloat(amountLine.text) > parseFloat(unlockedBalanceText)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user