Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaghettiOverload committed May 30, 2022
1 parent 7cf461a commit 3158669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export default class CudosBridgeComponent extends ContextPageComponent<Props, St
maximumAmount = maximumAmount.minus(simulatedCost);
}

if (maximumAmount.isGreaterThan(0) && maximumAmount.isLessThan(this.state.contractBalance)) {
if (maximumAmount.isGreaterThanOrEqualTo(0) && maximumAmount.isLessThan(this.state.contractBalance)) {
validAmount = true
amountError = S.INT_FALSE
}
Expand Down

0 comments on commit 3158669

Please sign in to comment.