Skip to content

Commit

Permalink
tBTC isRouteSupported await fix (#1440)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Peters <[email protected]>
  • Loading branch information
kev1n-peters and kev1n-peters authored Jan 9, 2024
1 parent dc74995 commit 592a377
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wormhole-connect/src/routes/tbtc/tbtc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@ export class TBTCRoute extends BaseRoute {
!ROUTES.includes(Route.TBTC) ||
!sourceChain ||
!destChain ||
!this.isSupportedSourceToken(
!(await this.isSupportedSourceToken(
TOKENS[sourceToken],
TOKENS[destToken],
sourceChain,
destChain,
) ||
!this.isSupportedDestToken(
)) ||
!(await this.isSupportedDestToken(
TOKENS[destToken],
TOKENS[sourceToken],
sourceChain,
destChain,
) ||
)) ||
isGatewayChain(sourceChain) ||
isGatewayChain(destChain)
) {
Expand Down

0 comments on commit 592a377

Please sign in to comment.