@@ -251,8 +251,10 @@ export class NttAutomaticRoute<N extends Network>
251251  } 
252252
253253  async  resume ( tx : TransactionId ) : Promise < R >  { 
254-     //@ts -ignore 
255-     const  vaa  =  await  this . wh . getVaa ( tx ,  "Ntt:WormholeTransferStandardRelayer" ) ; 
254+     const  vaa  =  await  this . wh . getVaa ( 
255+       tx . txid , 
256+       "Ntt:WormholeTransferStandardRelayer" 
257+     ) ; 
256258    if  ( ! vaa )  throw  new  Error ( "No VAA found for transaction: "  +  tx . txid ) ; 
257259
258260    const  msgId : WormholeMessageId  =  { 
@@ -366,18 +368,17 @@ export class NttAutomaticRoute<N extends Network>
366368
367369  public  override  async  * track ( receipt : R ,  timeout ?: number )  { 
368370    if  ( isSourceInitiated ( receipt )  ||  isSourceFinalized ( receipt ) )  { 
369-       const  txid  =  receipt . originTxs [ receipt . originTxs . length  -  1 ] ! ; 
371+       const  {   txid  }  =  receipt . originTxs [ receipt . originTxs . length  -  1 ] ! ; 
370372
371373      const  isEvmPlatform  =  ( chain : Chain )  =>  chainToPlatform ( chain )  ===  "Evm" ; 
372374      const  vaaType  = 
373375        isEvmPlatform ( receipt . from )  &&  isEvmPlatform ( receipt . to ) 
374376          ? // Automatic NTT transfers between EVM chains use standard relayers 
375377            "Ntt:WormholeTransferStandardRelayer" 
376378          : "Ntt:WormholeTransfer" ; 
377-       // @ts -ignore 
378379      const  vaa  =  await  this . wh . getVaa ( txid ,  vaaType ,  timeout ) ; 
379380      if  ( ! vaa )  { 
380-         throw  new  Error ( `No VAA found for transaction: ${ txid . txid }  ` ) ; 
381+         throw  new  Error ( `No VAA found for transaction: ${ txid }  ` ) ; 
381382      } 
382383
383384      const  msgId : WormholeMessageId  =  { 
0 commit comments