mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-09 20:12:06 +10:00
fixed some typos
This commit is contained in:
5
index.ts
5
index.ts
@ -80,8 +80,9 @@ function printDetails(wallet: Keypair, quoteToken: Token, bot: Bot) {
|
||||
|
||||
logger.info('- Bot -');
|
||||
|
||||
logger.info(`Using warp: ${bot.isWarp}`);
|
||||
logger.info(`Using jito: ${bot.isJito}`);
|
||||
logger.info(
|
||||
`Using ${TRANSACTION_EXECUTOR} executer: ${bot.isWarp || bot.isJito || (TRANSACTION_EXECUTOR === 'default' ? true : false)}`,
|
||||
);
|
||||
if (bot.isWarp) {
|
||||
logger.info(`${TRANSACTION_EXECUTOR} fee: ${CUSTOM_FEE}`);
|
||||
} else {
|
||||
|
||||
@ -109,7 +109,7 @@ export class JitoTransactionExecutor implements TransactionExecutor {
|
||||
return { confirmed: false };
|
||||
} catch (error) {
|
||||
if (error instanceof AxiosError) {
|
||||
logger.trace({ error: error.response?.data }, 'Failed to execute warp transaction');
|
||||
logger.trace({ error: error.response?.data }, 'Failed to execute jito transaction');
|
||||
}
|
||||
logger.error('Error during transaction execution', error);
|
||||
return { confirmed: false };
|
||||
|
||||
Reference in New Issue
Block a user