Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Nov 7, 2023
1 parent 7ca4047 commit 2e35385
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/assets/providers/tbtc/solana/WormholeGateway.v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,17 @@ function sendTbtcWrapped(
return tx;
}

const CANNONICAL_CHAINS: number[] = [CHAIN_ID_POLYGON, CHAIN_ID_OPTIMISM, CHAIN_ID_ARBITRUM, CHAIN_ID_BASE, CHAIN_ID_SOLANA];
const CANNONICAL_CHAINS: number[] = [
CHAIN_ID_POLYGON,
CHAIN_ID_OPTIMISM,
CHAIN_ID_ARBITRUM,
CHAIN_ID_BASE,
CHAIN_ID_SOLANA,
];

const isCanonical = (chainId: number) => {
return CANNONICAL_CHAINS.includes(chainId);
}
};

/**
* Send tBtc beween gateways allow burn and mint of tBtc
Expand Down

0 comments on commit 2e35385

Please sign in to comment.