Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Oct 17, 2024
1 parent a1f1185 commit 0d449e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ object VaultDepositWithdrawFormValidator {
}
}
if (postOpVaultBalance >= -EPSILON_FOR_ERRORS && amount > 0 &&
vaultAccount?.withdrawableUsdc != null && amount > vaultAccount.withdrawableUsdc
vaultAccount?.withdrawableUsdc != null && vaultAccount.withdrawableUsdc - amount < -EPSILON_FOR_ERRORS
) {
errors.add(vaultFormValidationErrors.withdrawingLockedBalance())
}
Expand Down

0 comments on commit 0d449e2

Please sign in to comment.