fix(deposits): validation with exempt (#3909)
This commit is contained in:
parent
7a89dc984d
commit
e2c4c4a841
@ -332,7 +332,7 @@ export const DepositForm = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
let lifetimeLimit = new BigNumber(Infinity);
|
let lifetimeLimit = new BigNumber(Infinity);
|
||||||
if (balances.max.isGreaterThan(0)) {
|
if (balances.max.isGreaterThan(0) && !balances.exempt) {
|
||||||
lifetimeLimit = balances.max.minus(balances.deposited);
|
lifetimeLimit = balances.max.minus(balances.deposited);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user