From ea82f7cff42507caa691ac5eda59812a301ba5a2 Mon Sep 17 00:00:00 2001 From: Claudiu Lataretu Date: Fri, 1 Mar 2024 12:01:06 +0200 Subject: [PATCH] proxy_dex: only create the wrapped lp token Signed-off-by: Claudiu Lataretu --- locked-asset/proxy_dex/src/proxy_farm.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/locked-asset/proxy_dex/src/proxy_farm.rs b/locked-asset/proxy_dex/src/proxy_farm.rs index 14642cfe5..95b96adb9 100644 --- a/locked-asset/proxy_dex/src/proxy_farm.rs +++ b/locked-asset/proxy_dex/src/proxy_farm.rs @@ -480,11 +480,8 @@ pub trait ProxyFarmModule: }; let new_token_amount = new_wrapped_lp_attributes.get_total_supply(); - let new_wrapped_lp = wrapped_lp_mapper.nft_create_and_send( - &caller, - new_token_amount, - &new_wrapped_lp_attributes, - ); + let new_wrapped_lp = + wrapped_lp_mapper.nft_create(new_token_amount, &new_wrapped_lp_attributes); self.send().esdt_local_burn( &wrapped_farm_attributes.proxy_farming_token.token_identifier,