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