mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-09 20:12:06 +10:00
custom fee checking if using jito
This commit is contained in:
2
index.ts
2
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}`);
|
||||
|
||||
Reference in New Issue
Block a user