Skip to content

Commit

Permalink
proxy_dex: only create the wrapped lp token
Browse files Browse the repository at this point in the history
Signed-off-by: Claudiu Lataretu <[email protected]>
  • Loading branch information
claudiulataretu committed Mar 1, 2024
1 parent 6c209fe commit ea82f7c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions locked-asset/proxy_dex/src/proxy_farm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ea82f7c

Please sign in to comment.