mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2026-06-22 04:11:27 +10:00
fix: filters
This commit is contained in:
@@ -353,7 +353,7 @@ export class Bot {
|
|||||||
|
|
||||||
private async filterMatch(poolKeys: LiquidityPoolKeysV4) {
|
private async filterMatch(poolKeys: LiquidityPoolKeysV4) {
|
||||||
if (this.config.filterCheckInterval === 0 || this.config.filterCheckDuration === 0) {
|
if (this.config.filterCheckInterval === 0 || this.config.filterCheckDuration === 0) {
|
||||||
return;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const timesToCheck = this.config.filterCheckDuration / this.config.filterCheckInterval;
|
const timesToCheck = this.config.filterCheckDuration / this.config.filterCheckInterval;
|
||||||
|
|||||||
@@ -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(`Snipe list refresh interval: ${SNIPE_LIST_REFRESH_INTERVAL} ms`);
|
||||||
logger.info(`Filter check interval: ${botConfig.filterCheckInterval} ms`);
|
logger.info(`Filter check interval: ${botConfig.filterCheckInterval} ms`);
|
||||||
logger.info(`Filter check duration: ${botConfig.filterCheckDuration} 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 renounced: ${botConfig.checkRenounced}`);
|
||||||
logger.info(`Check freezable: ${botConfig.checkFreezable}`);
|
logger.info(`Check freezable: ${botConfig.checkFreezable}`);
|
||||||
logger.info(`Check burned: ${botConfig.checkBurned}`);
|
logger.info(`Check burned: ${botConfig.checkBurned}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user