Skip to content

Commit

Permalink
renamed things
Browse files Browse the repository at this point in the history
  • Loading branch information
kev1n-peters committed Mar 19, 2024
1 parent 79a314b commit 62a3431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wormhole-connect/src/config/testnet/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions wormhole-connect/src/hooks/useCheckInboundQueuedTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 62a3431

Please sign in to comment.