Skip to content

Commit

Permalink
fix: swap to any token
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Sep 16, 2024
1 parent 6eca133 commit 8066539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/swap/contracts/SwapToAnyToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ contract SwapToAnyToken is UniversalContract {
uint256 inputForGas;
address gasZRC20;
uint256 gasFee;
uint256 swapAmount;
uint256 swapAmount = amount;

if (params.withdraw) {
(gasZRC20, gasFee) = IZRC20(params.target).withdrawGasFee();
Expand Down

0 comments on commit 8066539

Please sign in to comment.