Skip to content

Commit 1d2855d

Browse files
committed
legacy - delete BatchPayment modification
1 parent 878c84e commit 1d2855d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/smart-contracts/src/contracts/BatchPayments.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ contract BatchPayments is Ownable, ReentrancyGuard {
9797
// amount is updated into batch fee amount
9898
amount = (amount * batchFee) / 1000;
9999
// 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');
101101
// Batch pays batch fee
102102
_feeAddress.transfer(amount);
103103

@@ -147,7 +147,7 @@ contract BatchPayments is Ownable, ReentrancyGuard {
147147
requestedToken.allowance(msg.sender, address(this)) >= amount,
148148
'Not sufficient allowance for batch to pay'
149149
);
150-
require(requestedToken.balanceOf(msg.sender) >= amount, 'Not enough funds');
150+
require(requestedToken.balanceOf(msg.sender) >= amount, 'not enough funds');
151151
require(
152152
safeTransferFrom(_tokenAddress, address(this), amount),
153153
'payment transferFrom() failed'

0 commit comments

Comments
 (0)