Skip to content

Commit

Permalink
fix prettier and rpc links
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Jan 11, 2024
1 parent c033a00 commit 6899739
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/hooks/useHandleTransfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ async function aptos(
transferAmountParsed.toString(),
recipientChain,
additionalPayload?.receivingContract || recipientAddress,
additionalPayload?.payload ? undefined : createNonce().readUInt32LE(0).toString(),
additionalPayload?.payload
? undefined
: createNonce().readUInt32LE(0).toString(),
additionalPayload?.payload
);

Expand Down
6 changes: 2 additions & 4 deletions src/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,15 +617,13 @@ export const getExplorerName = (chainId: ChainId) =>
export const WORMHOLE_RPC_HOSTS =
CLUSTER === "mainnet"
? [
"https://wormhole-v2-mainnet-api.certus.one",
"https://wormhole.inotel.ro",
"https://api.wormholescan.io", // Explorer offers a guardian equivalent endpoint for fetching VAAs
"https://wormhole-v2-mainnet-api.mcf.rocks",
"https://wormhole-v2-mainnet-api.chainlayer.network",
"https://wormhole-v2-mainnet-api.staking.fund",
"https://wormhole-v2-mainnet.01node.com",
]
: CLUSTER === "testnet"
? ["https://wormhole-v2-testnet-api.certus.one"]
? ["https://api.testnet.wormholescan.io"]
: ["http://localhost:7071"];
export const ETH_NETWORK_CHAIN_ID =
CLUSTER === "mainnet" ? 1 : CLUSTER === "testnet" ? 5 : 1337;
Expand Down

0 comments on commit 6899739

Please sign in to comment.