mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-18 02:31:18 +10:00
fix: increase max retries amount
This commit is contained in:
2
buy.ts
2
buy.ts
@ -307,7 +307,7 @@ async function buy(
|
|||||||
const signature = await solanaConnection.sendRawTransaction(
|
const signature = await solanaConnection.sendRawTransaction(
|
||||||
transaction.serialize(),
|
transaction.serialize(),
|
||||||
{
|
{
|
||||||
maxRetries: 5,
|
maxRetries: 20,
|
||||||
preflightCommitment: commitment,
|
preflightCommitment: commitment,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user