Skip to content

Commit

Permalink
Fixed names of msg parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramCrafter committed Oct 7, 2023
1 parent a9ac9f0 commit 60b456a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/multitoken_dex.tact
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ contract MultitokenDex {

// insufficient value to process token
if (ctx.value <= ton("0.4")) {
self.transferJettonTo(ctx.sender, msg.from, received,
self.transferJettonTo(ctx.sender, msg.sender, received,
msg.query_id, "Insufficient value to process token");
return;
}

let swap: Swap = msg.forwardPayload % Swap;
let swap: Swap = msg.forward_payload % Swap;
let other_jw: Address = self.jetton_wallets.get(swap.otherJettonMaster)!!;
let old_balance_dst: Int = self.assets.get(other_jw)!!;

Expand Down

0 comments on commit 60b456a

Please sign in to comment.