Skip to content

Commit

Permalink
Solana: Increase reliability by specifying preflight options (#66)
Browse files Browse the repository at this point in the history
changes
  • Loading branch information
bryan-eastwood3 authored Dec 13, 2024
1 parent cc8e89d commit d289856
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions typescript/.changeset/tricky-plants-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@goat-sdk/wallet-solana": patch
---

Fix send transaction options
1 change: 1 addition & 0 deletions typescript/packages/wallets/solana/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export function solana({ connection, keypair }: SolanaWalletOptions): SolanaWall

const txid = await connection.sendTransaction(transaction, {
maxRetries: 5,
preflightCommitment: "confirmed",
});

return {
Expand Down

0 comments on commit d289856

Please sign in to comment.