Skip to content

Commit

Permalink
examples: fetch vaa for last tx hash (#496)
Browse files Browse the repository at this point in the history
the first tx hash may be the spending approval if from an evm chain
  • Loading branch information
kev1n-peters authored Aug 22, 2024
1 parent 51130bc commit 5b39fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/examples/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const recoverTxids: TransactionId[] = [
console.log("Source txs", txids);

const vaa = await wh.getVaa(
txids[0]!.txid,
txids[txids.length - 1]!.txid,
"Ntt:WormholeTransfer",
25 * 60 * 1000
);
Expand Down

0 comments on commit 5b39fee

Please sign in to comment.