From 5d09eff7fe640b097409986d499588a4c9043e1b Mon Sep 17 00:00:00 2001 From: 8sunyuan Date: Wed, 24 Apr 2024 12:01:05 -0400 Subject: [PATCH] fix: spacing --- src/ServiceManagerBase.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ServiceManagerBase.sol b/src/ServiceManagerBase.sol index 64b5f056..b959c121 100644 --- a/src/ServiceManagerBase.sol +++ b/src/ServiceManagerBase.sol @@ -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); }