Skip to content

Commit

Permalink
add versioned transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 committed Aug 4, 2024
1 parent 3701b57 commit 93c2740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ export const sendSignAndConfirmTransactions = async ({
recentBlockhash: block.blockhash,
addressLookupTableAccounts: [...alts],
});
let vtx = new VersionedTransaction(message);
const vtx = new VersionedTransaction(message);
if (signers?.length) {
vtx.sign([...signers]);
}
Expand Down

0 comments on commit 93c2740

Please sign in to comment.