forked from Public/monero-gui
Number comparison should be float
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user