diff --git a/contracts/paymaster/src/forward_call.rs b/contracts/paymaster/src/forward_call.rs index 9410e1ed..955e59f7 100644 --- a/contracts/paymaster/src/forward_call.rs +++ b/contracts/paymaster/src/forward_call.rs @@ -10,8 +10,8 @@ pub trait ForwardCall { &self, dest: ManagedAddress, endpoint_name: ManagedBuffer, - endpoint_args: MultiValueEncoded, payments: PaymentsVec, + endpoint_args: MultiValueEncoded, ) { let original_caller = self.blockchain().get_caller(); diff --git a/contracts/paymaster/src/paymaster.rs b/contracts/paymaster/src/paymaster.rs index a5527945..d50bf875 100644 --- a/contracts/paymaster/src/paymaster.rs +++ b/contracts/paymaster/src/paymaster.rs @@ -33,6 +33,6 @@ pub trait PaymasterContract: forward_call::ForwardCall { let mut payments_without_fee = payments.clone_value(); payments_without_fee.remove(FEE_PAYMENT); - self.forward_call(dest, endpoint_name, endpoint_args, payments_without_fee); + self.forward_call(dest, endpoint_name, payments_without_fee, endpoint_args); } }