Skip to content

Commit

Permalink
Merge pull request #849 from multiversx/increase-energy-for-proxy-lp-fix
Browse files Browse the repository at this point in the history
[proxy_dex] only create the wrapped lp token
  • Loading branch information
psorinionut authored Mar 1, 2024
2 parents 6c209fe + ea82f7c commit 4b3e7cd
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 4b3e7cd

Please sign in to comment.