mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-09 20:12:06 +10:00
fix: disable filters when snipe list if on
This commit is contained in:
10
bot.ts
10
bot.ts
@ -131,11 +131,13 @@ export class Bot {
|
||||
]);
|
||||
const poolKeys: LiquidityPoolKeysV4 = createPoolKeys(accountId, poolState, market);
|
||||
|
||||
const match = await this.filterMatch(poolKeys);
|
||||
if (!this.config.useSnipeList) {
|
||||
const match = await this.filterMatch(poolKeys);
|
||||
|
||||
if (!match) {
|
||||
logger.trace({ mint: poolKeys.baseMint.toString() }, `Skipping buy because pool doesn't match filters`);
|
||||
return;
|
||||
if (!match) {
|
||||
logger.trace({ mint: poolKeys.baseMint.toString() }, `Skipping buy because pool doesn't match filters`);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
for (let i = 0; i < this.config.maxBuyRetries; i++) {
|
||||
|
||||
Reference in New Issue
Block a user