Skip to content

Commit a5c6af2

Browse files
committed
renamed things
1 parent 868342b commit a5c6af2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

wormhole-connect/src/config/testnet/tokens.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2329,7 +2329,7 @@ export const TESTNET_TOKENS: TokensConfig = {
23292329
},
23302330
ntt: {
23312331
nttManager: 'nTTh3bZ5Aer6xboWZe39RDEft4MeVxSQ8D1EYAVLZw9',
2332-
// The wormhole transceiver is baked into the Solana ntt contract.
2332+
// The wormhole transceiver is baked into the Solana NTT contract.
23332333
// If the transceiver is split into a separate contract, this address
23342334
// and route code should be updated to support the new structure.
23352335
wormholeTransceiver: 'nTTh3bZ5Aer6xboWZe39RDEft4MeVxSQ8D1EYAVLZw9',

wormhole-connect/src/hooks/useCheckInboundQueuedTransfer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ const useCheckInboundQueuedTransfer = (): void => {
3535
return;
3636
}
3737
const { toChain, recipientNttManager, messageDigest } = signedMessage;
38-
const ntt = RouteOperator.getRoute(route) as NttBase;
38+
const nttRoute = RouteOperator.getRoute(route) as NttBase;
3939
let active = true;
4040
const fetchData = async () => {
4141
// We continue polling for the inbound queued transfer even after fetching the data once,
4242
// because the transfer could be released by anyone.
4343
while (active) {
4444
try {
45-
const queuedTransfer = await ntt.getInboundQueuedTransfer(
45+
const queuedTransfer = await nttRoute.getInboundQueuedTransfer(
4646
toChain,
4747
recipientNttManager,
4848
messageDigest,

0 commit comments

Comments
 (0)