Skip to content

Commit

Permalink
Merge pull request #803 from paraswap/aburkut/remove-incorrect-commen…
Browse files Browse the repository at this point in the history
…t-for-curve-v2

Update incorrect comment for CurveV2 about needWrapNative
  • Loading branch information
aburkut authored Oct 4, 2024
2 parents 89e5dea + 6070c26 commit a79f8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dex/curve-v2/curve-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class CurveV2
exchangeRouterInterface: Interface;
genericFactoryZapIface: Interface;
minConversionRate = '1';
// TODO: it's wrong, cause some pools can have eth and others can have weth
// the dex supports native ETH and WETH pools and handles wrapping/unwrapping on their smart contract level, we can always send WETH even for native ETH pools
needWrapNative = true;
logger: Logger;

Expand Down

0 comments on commit a79f8d1

Please sign in to comment.