Skip to content

Commit

Permalink
Skip preflight for solana tx
Browse files Browse the repository at this point in the history
  • Loading branch information
mliu committed Nov 20, 2024
1 parent a695c0c commit 61b87bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/huma-widget/src/components/SolanaTxSendModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function SolanaTxSendModal({
const signature = await sendTransaction(optimizedTx, connection, {
maxRetries: 5,
preflightCommitment: 'confirmed',
skipPreflight: true,
})
setSignature(signature)
dispatch(setSolanaSignature(signature))
Expand Down

0 comments on commit 61b87bb

Please sign in to comment.