We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a205230 commit fe53404Copy full SHA for fe53404
solana/ts/sdk/ntt.ts
@@ -283,9 +283,8 @@ export class SolanaNtt<N extends Network, C extends SolanaChains>
283
contracts: Contracts & { ntt: Ntt.Contracts },
284
sender?: AccountAddress<SolanaChains>
285
): Promise<IdlVersion> {
286
- // TODO: what? the try catch doesn't seem to work. it's not catching the error
287
try {
288
- return NTT.getVersion(
+ return await NTT.getVersion(
289
connection,
290
new PublicKey(contracts.ntt.manager!),
291
sender ? new SolanaAddress(sender).unwrap() : undefined
0 commit comments