Merge pull request #50 from VariantConst/patch-1

Increase minimum accounts check from 11 to 13
This commit is contained in:
sgxiang
2025-11-19 21:10:37 +08:00
committed by GitHub
@@ -136,7 +136,7 @@ fn parse_buy_instruction(
) -> Option<DexEvent> {
metadata.event_type = EventType::PumpSwapBuy;
if data.len() < 16 || accounts.len() < 11 {
if data.len() < 16 || accounts.len() < 13 {
return None;
}
@@ -173,7 +173,7 @@ fn parse_sell_instruction(
) -> Option<DexEvent> {
metadata.event_type = EventType::PumpSwapSell;
if data.len() < 16 || accounts.len() < 11 {
if data.len() < 16 || accounts.len() < 13 {
return None;
}