Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: resume native sui token bridge xfers fix
resolves: #3165
  • Loading branch information
kev1n-peters committed Oct 6, 2025
commit 8c8d3ca80acac09670e322070ff3c398250e9330
4 changes: 2 additions & 2 deletions src/utils/sdkv2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
TBTCBridge,
chainToPlatform,
} from '@wormhole-foundation/sdk';
import { getWrappedNativeToken } from './wrappedNativeTokens';

Check failure on line 24 in src/utils/sdkv2.ts

View workflow job for this annotation

GitHub Actions / build-library

'getWrappedNativeToken' is declared but its value is never read.

Check warning on line 24 in src/utils/sdkv2.ts

View workflow job for this annotation

GitHub Actions / ESLint

'getWrappedNativeToken' is defined but never used. Allowed unused vars must match /^_/u

Check failure on line 24 in src/utils/sdkv2.ts

View workflow job for this annotation

GitHub Actions / build-hosted

'getWrappedNativeToken' is declared but its value is never read.
import type { NttRoute } from '@wormhole-foundation/sdk-route-ntt';
import type { CCTPv2ExecutorRoute } from '@wormhole-labs/cctp-executor-route';
import { Connection } from '@solana/web3.js';
Expand Down Expand Up @@ -584,10 +584,10 @@
address: token.address,
});

const wrappedNative = getWrappedNativeToken(config.network, chain);
const wrappedNative = await tb.getWrappedNative();

const tokenId =
wrappedNative && wrappedNative === tokenAddress.toString()
wrappedNative && wrappedNative.toString() === tokenAddress.toString()
? nativeTokenId(chain)
: Wormhole.tokenId(chain, tokenAddress.toString());

Expand Down
Loading