Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8668: Increase max retries for Solana Swap transactions to impro…
Browse files Browse the repository at this point in the history
…ve reliability (#8671)

Increase maxRetries for Solana Swap transactions to improve reliability.
  • Loading branch information
StephenHeaps committed Jan 18, 2024
1 parent 0acc3c6 commit bd215d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BraveWallet/Crypto/Stores/SwapTokenStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ public class SwapTokenStore: ObservableObject, WalletObserverStore {
fromBase64EncodedTransaction: jupiterTransaction,
txType: .solanaSwap,
send: .init(
maxRetries: .init(maxRetries: 2),
maxRetries: .init(maxRetries: 3),
preflightCommitment: "processed",
skipPreflight: .init(skipPreflight: true)
)
Expand Down

0 comments on commit bd215d9

Please sign in to comment.