From ef69b98ab450346ecc67028682bff621e44eabd9 Mon Sep 17 00:00:00 2001 From: Stephen Heaps Date: Thu, 18 Jan 2024 10:21:05 -0500 Subject: [PATCH] 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) )