File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/smart-contracts/src/contracts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ contract BatchPayments is Ownable, ReentrancyGuard {
97
97
// amount is updated into batch fee amount
98
98
amount = (amount * batchFee) / 1000 ;
99
99
// Check that batch contract has enough funds to pay batch fee
100
- require (address (this ).balance >= amount, 'Not enough funds for batch fee ' );
100
+ require (address (this ).balance >= amount, 'not enough funds for batch fee ' );
101
101
// Batch pays batch fee
102
102
_feeAddress.transfer (amount);
103
103
@@ -147,7 +147,7 @@ contract BatchPayments is Ownable, ReentrancyGuard {
147
147
requestedToken.allowance (msg .sender , address (this )) >= amount,
148
148
'Not sufficient allowance for batch to pay '
149
149
);
150
- require (requestedToken.balanceOf (msg .sender ) >= amount, 'Not enough funds ' );
150
+ require (requestedToken.balanceOf (msg .sender ) >= amount, 'not enough funds ' );
151
151
require (
152
152
safeTransferFrom (_tokenAddress, address (this ), amount),
153
153
'payment transferFrom() failed '
You can’t perform that action at this time.
0 commit comments