Explorar el Código

custom fee checking if using jito

engmabdulwahab hace 1 año
padre
commit
1abcaac1ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}`);