Skip to content

Commit

Permalink
fix: spacing (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
8sunyuan authored Apr 24, 2024
1 parent e18c19e commit 2b65511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServiceManagerBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ abstract contract ServiceManagerBase is IServiceManager, OwnableUpgradeable {
for (uint256 i = 0; i < rangePayments.length; ++i) {
// transfer token to ServiceManager and approve PaymentCoordinator to transfer again
// in payForRange() call
rangePayments[i].token.transferFrom(msg.sender, address(this), rangePayments[i].amount);
rangePayments[i].token.transferFrom(msg.sender, address(this), rangePayments[i].amount);
rangePayments[i].token.approve(address(_paymentCoordinator), rangePayments[i].amount);
}
}

_paymentCoordinator.payForRange(rangePayments);
}
Expand Down

0 comments on commit 2b65511

Please sign in to comment.