Skip to content

Commit

Permalink
Update src/handlers/swap.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Wall <matthew.wallt@gmail.com>
  • Loading branch information
skylarbarrera and walmat committed Jan 26, 2024
1 parent c472767 commit e733a0a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/handlers/swap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,17 +269,6 @@ export const isWrapNative = ({
sellTokenAddress: string;
buyTokenAddress: string;
}) => {
console.log({
isWrap:
sellTokenAddress.toLowerCase() ===
ETH_ADDRESS_AGGREGATORS.toLowerCase() &&
buyTokenAddress.toLowerCase() === WRAPPED_ASSET[chainId].toLowerCase(),
});
return (
sellTokenAddress.toLowerCase() === ETH_ADDRESS_AGGREGATORS.toLowerCase() &&
buyTokenAddress.toLowerCase() === WRAPPED_ASSET[chainId].toLowerCase()
);
};

export const estimateSwapGasLimit = async ({
chainId,
Expand Down

0 comments on commit e733a0a

Please sign in to comment.