Jelajahi Sumber

fix: increase max retries amount

Filip Dunder 1 tahun lalu
induk
melakukan
d5384e81d9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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,
     },
   );