Skip to content

Commit

Permalink
Test1
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Nov 22, 2023
1 parent 31db76c commit ba11a61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/paymaster/src/forward_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ pub trait ForwardCall {
) -> MultiValueEncoded<ManagedBuffer> {
// TODO: use ManagedGetBackTransfers once rc1.6 is activated
let back_transfers = self.blockchain().get_back_transfers();
let payments = self.call_value().all_esdt_transfers();

self.send().direct_multi(&original_caller, &payments.clone_value());

// Send the original input tokens back to the original caller
if !back_transfers.esdt_payments.is_empty() {
Expand Down

0 comments on commit ba11a61

Please sign in to comment.