From 60b456a6d32c481ad17f6b6032af78380c6c9402 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 7 Oct 2023 20:14:53 +0500 Subject: [PATCH] Fixed names of msg parameters --- contracts/multitoken_dex.tact | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/multitoken_dex.tact b/contracts/multitoken_dex.tact index efb4335..08c33b1 100644 --- a/contracts/multitoken_dex.tact +++ b/contracts/multitoken_dex.tact @@ -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)!!;