custom fee checking if using jito

This commit is contained in:
engmabdulwahab
2024-04-22 20:17:03 +04:00
parent 35cc982e8a
commit 1abcaac1ed

View File

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