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;