소스 검색

fix: increase max retries amount

Filip Dunder 1 년 전
부모
커밋
d5384e81d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      buy.ts

+ 1 - 1
buy.ts

@@ -307,7 +307,7 @@ async function buy(
   const signature = await solanaConnection.sendRawTransaction(
     transaction.serialize(),
     {
-      maxRetries: 5,
+      maxRetries: 20,
       preflightCommitment: commitment,
     },
   );