Skip to content

Commit

Permalink
fix: unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
callanbright committed May 13, 2024
1 parent 347fa88 commit 2cde7e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dex/swell/swell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,9 @@ export class Swell
if (!this.isEligibleSwap(srcToken, destToken, side)) return [];
if (destToken.address === this.swETHAddress) {
return [this.getPoolIdentifierKeySwETH()];
} else if (destToken.address === this.rswETHAddress) {
} else {
return [this.getPoolIdentifierKeyRswETH()];
}
return [];
}

async getPricesVolume(
Expand Down

0 comments on commit 2cde7e4

Please sign in to comment.