Skip to content

Commit

Permalink
Fix brave/brave-ios#8668: Increase max retries for Solana Swap transa…
Browse files Browse the repository at this point in the history
…ctions to improve reliability (brave/brave-ios#8671)

Increase maxRetries for Solana Swap transactions to improve reliability.
  • Loading branch information
StephenHeaps authored Jan 18, 2024
1 parent ed8b39e commit bb271d4
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 bb271d4

Please sign in to comment.