Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: overallteach <cricis@foxmail.com>
  • Loading branch information
overallteach committed Apr 20, 2024
1 parent a259366 commit e785ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hop-node-core/src/swap/uniswap/uniswap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ export async function swap (config: SwapInput) {
logger.debug('dryMode:', !!dryMode)

if (!addresses[chain]) {
throw new Error(`chain "${chain}" currently not supported at at this time`)
throw new Error(`chain "${chain}" currently not supported at this time`)
}
const { swapRouter, pools } = addresses[chain]
const wallet = wallets.get(chain)
if (!pools[toToken]) {
throw new Error(`"${toToken}" currently not supported at at this time`)
throw new Error(`"${toToken}" currently not supported at this time`)
}
const poolAddress = pools[toToken][fromToken]
if (!poolAddress) {
Expand Down

0 comments on commit e785ba5

Please sign in to comment.