Skip to content

Commit

Permalink
[PAY-2271] Skip preflight in coinflow checkout (#6930)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored Dec 13, 2023
1 parent 354a5b6 commit 8213ebb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/common/src/hooks/useCoinflowAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ export const useCoinflowAdapter = () => {
sendTransaction: async (transaction: Transaction) => {
transaction.partialSign(wallet)
const res = await connection.sendRawTransaction(
transaction.serialize()
transaction.serialize(),
// Skip preflight as this causes indeterminism between coinflow's
// RPC and our provided RPC.
{ skipPreflight: true }
)
return res
}
Expand Down

0 comments on commit 8213ebb

Please sign in to comment.