Skip to content

Commit

Permalink
Merge pull request #40 from multiversx/paymaster_debug
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas authored Nov 28, 2023
2 parents 31db76c + e2086b2 commit 55d4dae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/paymaster/src/forward_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ pub trait ForwardCall {
&self,
dest: ManagedAddress,
endpoint_name: ManagedBuffer,
endpoint_args: MultiValueEncoded<ManagedBuffer>,
payments: PaymentsVec<Self::Api>,
endpoint_args: MultiValueEncoded<ManagedBuffer>,
) {
let original_caller = self.blockchain().get_caller();

Expand Down
2 changes: 1 addition & 1 deletion contracts/paymaster/src/paymaster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 55d4dae

Please sign in to comment.