We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0dbbba0 + bf2ebee commit c64890aCopy full SHA for c64890a
contracts/src/EscrowUniversal.sol
@@ -49,7 +49,7 @@ contract EscrowUniversal is IEscrow, IArbitrableV2 {
49
}
50
51
modifier shouldNotExceedCap(IERC20 _token, uint256 _amount) {
52
- if (amountCaps[_token] != 0 && _amount > amountCaps[_token]) revert AmountExceedsCap();
+ if (_amount > amountCaps[_token]) revert AmountExceedsCap();
53
_;
54
55
0 commit comments