fix: test

This commit is contained in:
2026-03-23 16:14:19 +08:00
parent c7e9354e07
commit b860ff1719
2 changed files with 11 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ func parseRaydiumLaunchLabCreate(tx VersionedTransaction, instruction Instructio
}
func parseRaydiumLaunchLabSwap(tx VersionedTransaction, instruction Instructions, isBuy bool, exactIn bool) (*TxSignal, error) {
if len(instruction.Accounts) < 10 {
if len(instruction.Accounts) < 11 {
return nil, fmt.Errorf("accounts too short")
}
if len(instruction.Data) < 24 {