瀏覽代碼

custom fee checking if using jito

engmabdulwahab 1 年之前
父節點
當前提交
1abcaac1ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  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}`);