Przeglądaj źródła

custom fee checking if using jito

engmabdulwahab 1 rok temu
rodzic
commit
1abcaac1ed
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      index.ts

+ 1 - 1
index.ts

@@ -83,7 +83,7 @@ function printDetails(wallet: Keypair, quoteToken: Token, bot: Bot) {
   logger.info(
     `Using ${TRANSACTION_EXECUTOR} executer: ${bot.isWarp || bot.isJito || (TRANSACTION_EXECUTOR === 'default' ? true : false)}`,
   );
-  if (bot.isWarp) {
+  if (bot.isWarp || bot.isJito) {
     logger.info(`${TRANSACTION_EXECUTOR} fee: ${CUSTOM_FEE}`);
   } else {
     logger.info(`Compute Unit limit: ${botConfig.unitLimit}`);