From 35cc982e8ac14607d3b8e65541d6bd7ab51d261d Mon Sep 17 00:00:00 2001 From: engmabdulwahab <49817513+mcoder9@users.noreply.github.com> Date: Mon, 22 Apr 2024 20:09:15 +0400 Subject: [PATCH] fixed some typos --- index.ts | 5 +++-- transactions/jito-rpc-transaction-executor.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 83e7655..53d78d4 100644 --- a/index.ts +++ b/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 { diff --git a/transactions/jito-rpc-transaction-executor.ts b/transactions/jito-rpc-transaction-executor.ts index 42d0d71..bcb8da1 100644 --- a/transactions/jito-rpc-transaction-executor.ts +++ b/transactions/jito-rpc-transaction-executor.ts @@ -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 };