diff --git a/wormhole-connect/src/config/testnet/tokens.ts b/wormhole-connect/src/config/testnet/tokens.ts index 3c869d167..48470490c 100644 --- a/wormhole-connect/src/config/testnet/tokens.ts +++ b/wormhole-connect/src/config/testnet/tokens.ts @@ -2329,7 +2329,7 @@ export const TESTNET_TOKENS: TokensConfig = { }, ntt: { nttManager: 'nTTh3bZ5Aer6xboWZe39RDEft4MeVxSQ8D1EYAVLZw9', - // The wormhole transceiver is baked into the Solana ntt contract. + // The wormhole transceiver is baked into the Solana NTT contract. // If the transceiver is split into a separate contract, this address // and route code should be updated to support the new structure. wormholeTransceiver: 'nTTh3bZ5Aer6xboWZe39RDEft4MeVxSQ8D1EYAVLZw9', diff --git a/wormhole-connect/src/hooks/useCheckInboundQueuedTransfer.ts b/wormhole-connect/src/hooks/useCheckInboundQueuedTransfer.ts index 18b219c15..b60309098 100644 --- a/wormhole-connect/src/hooks/useCheckInboundQueuedTransfer.ts +++ b/wormhole-connect/src/hooks/useCheckInboundQueuedTransfer.ts @@ -35,14 +35,14 @@ const useCheckInboundQueuedTransfer = (): void => { return; } const { toChain, recipientNttManager, messageDigest } = signedMessage; - const ntt = RouteOperator.getRoute(route) as NttBase; + const nttRoute = RouteOperator.getRoute(route) as NttBase; let active = true; const fetchData = async () => { // We continue polling for the inbound queued transfer even after fetching the data once, // because the transfer could be released by anyone. while (active) { try { - const queuedTransfer = await ntt.getInboundQueuedTransfer( + const queuedTransfer = await nttRoute.getInboundQueuedTransfer( toChain, recipientNttManager, messageDigest,