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