Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jul 17, 2024
1 parent d78ec3f commit 2682ea8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions omnichain/swap/contracts/SwapToAnyToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ contract SwapToAnyToken is zContract, OnlySystem {
bytes memory recipient,
bool withdraw
) internal {
uint256 outputAmount;
uint256 inputForGas;
address gasZRC20;
uint256 gasFee;
Expand All @@ -89,7 +88,7 @@ contract SwapToAnyToken is zContract, OnlySystem {
);
}

outputAmount = SwapHelperLib.swapExactTokensForTokens(
uint256 outputAmount = SwapHelperLib.swapExactTokensForTokens(
systemContract,
inputToken,
withdraw ? amount - inputForGas : amount,
Expand Down

0 comments on commit 2682ea8

Please sign in to comment.