mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
fix MIN_EXT_AMOUNT_LIMIT check
This commit is contained in:
parent
448ec8c1ae
commit
9cecb7b3ec
@ -296,7 +296,7 @@ contract TornadoPool is MerkleTreeWithHistory, IERC20Receiver, ReentrancyGuard,
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _configureLimits(uint256 _minimalWithdrawalAmount, uint256 _maximumDepositAmount) internal {
|
function _configureLimits(uint256 _minimalWithdrawalAmount, uint256 _maximumDepositAmount) internal {
|
||||||
require(_minimalWithdrawalAmount < MIN_EXT_AMOUNT_LIMIT, "minimalWithdrawal over limit");
|
require(_minimalWithdrawalAmount <= MIN_EXT_AMOUNT_LIMIT, "minimalWithdrawal over limit");
|
||||||
minimalWithdrawalAmount = _minimalWithdrawalAmount;
|
minimalWithdrawalAmount = _minimalWithdrawalAmount;
|
||||||
maximumDepositAmount = _maximumDepositAmount;
|
maximumDepositAmount = _maximumDepositAmount;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user