fix: filters

This commit is contained in:
Filip Dunder
2024-04-21 14:49:26 +02:00
parent 3dbe5a5352
commit 610340146d
2 changed files with 2 additions and 2 deletions

2
bot.ts
View File

@ -353,7 +353,7 @@ export class Bot {
private async filterMatch(poolKeys: LiquidityPoolKeysV4) {
if (this.config.filterCheckInterval === 0 || this.config.filterCheckDuration === 0) {
return;
return true;
}
const timesToCheck = this.config.filterCheckDuration / this.config.filterCheckInterval;

View File

@ -114,7 +114,7 @@ function printDetails(wallet: Keypair, quoteToken: Token, bot: Bot) {
logger.info(`Snipe list refresh interval: ${SNIPE_LIST_REFRESH_INTERVAL} ms`);
logger.info(`Filter check interval: ${botConfig.filterCheckInterval} ms`);
logger.info(`Filter check duration: ${botConfig.filterCheckDuration} ms`);
logger.info(`Consecutive filter matches: ${botConfig.consecutiveMatchCount} ms`);
logger.info(`Consecutive filter matches: ${botConfig.consecutiveMatchCount}`);
logger.info(`Check renounced: ${botConfig.checkRenounced}`);
logger.info(`Check freezable: ${botConfig.checkFreezable}`);
logger.info(`Check burned: ${botConfig.checkBurned}`);