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