Skip to content

Commit a771824

Browse files
committed
removing unnecessary things and adding quick fixes
1 parent 277b8ba commit a771824

File tree

4 files changed

+46
-281
lines changed

4 files changed

+46
-281
lines changed

src/modules/paymentProcessor/PP_Queue_ManualExecution_v1.sol

+3-4
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ contract PP_Queue_ManualExecution_v1 is
7575
external
7676
virtual
7777
override(PP_Queue_v1, IPaymentProcessor_v1)
78-
onlyModuleRole(QUEUE_OPERATOR_ROLE)
7978
clientIsValid(address(client_))
8079
{
8180
// Collect outstanding orders and their total token amount.
@@ -91,10 +90,10 @@ contract PP_Queue_ManualExecution_v1 is
9190
}
9291

9392
/// @inheritdoc IPP_Queue_ManualExecution_v1
94-
function executePaymentQueue()
93+
function executePaymentQueue(IERC20PaymentClientBase_v1 client_)
9594
external
96-
onlyModuleRole(QUEUE_OPERATOR_ROLE)
95+
clientIsValid(address(client_))
9796
{
98-
_executePaymentQueue(_msgSender());
97+
_executePaymentQueue(address(client_));
9998
}
10099
}

0 commit comments

Comments
 (0)