fixed some typos

This commit is contained in:
engmabdulwahab
2024-04-22 20:09:15 +04:00
parent 39ef59f5a6
commit 35cc982e8a
2 changed files with 4 additions and 3 deletions

View File

@ -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 {

View File

@ -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 };