From bd215d9804a41f2619b83fe6c92ceaa8777a712e Mon Sep 17 00:00:00 2001 From: StephenHeaps <5314553+StephenHeaps@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:05:11 -0500 Subject: [PATCH] Fix #8668: Increase max retries for Solana Swap transactions to improve reliability (#8671) Increase maxRetries for Solana Swap transactions to improve reliability. --- Sources/BraveWallet/Crypto/Stores/SwapTokenStore.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BraveWallet/Crypto/Stores/SwapTokenStore.swift b/Sources/BraveWallet/Crypto/Stores/SwapTokenStore.swift index 2b865effb23..89aaba5bdcc 100644 --- a/Sources/BraveWallet/Crypto/Stores/SwapTokenStore.swift +++ b/Sources/BraveWallet/Crypto/Stores/SwapTokenStore.swift @@ -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) )