mirror of
https://github.com/lil-org/tokenary.git
synced 2025-01-07 14:10:28 +03:00
Increase retry count on solana transaction attempt
This commit is contained in:
parent
1df074b0e2
commit
57c3ba0c6f
@ -86,7 +86,7 @@ class Solana {
|
||||
case .blockhashNotFound:
|
||||
self?.updateBlockhash(message: message) { updatedMessage in
|
||||
if let updatedMessage = updatedMessage {
|
||||
self?.signAndSendTransaction(message: updatedMessage, options: options, completion: completion)
|
||||
self?.signAndSendTransaction(retryCount: retryCount + 1, message: updatedMessage, options: options, completion: completion)
|
||||
} else {
|
||||
completion(.failure(.unknown))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user