From d5384e81d989d892a5dadfe028e102beba83363e Mon Sep 17 00:00:00 2001 From: Filip Dunder Date: Sat, 3 Feb 2024 20:30:17 +0100 Subject: [PATCH] fix: increase max retries amount --- buy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buy.ts b/buy.ts index 082501e..18c2ede 100644 --- a/buy.ts +++ b/buy.ts @@ -307,7 +307,7 @@ async function buy( const signature = await solanaConnection.sendRawTransaction( transaction.serialize(), { - maxRetries: 5, + maxRetries: 20, preflightCommitment: commitment, }, );