Преглед изворни кода

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,
     },
   );