must to next inner at least

This commit is contained in:
2026-02-21 09:29:28 +08:00
parent 62cc64a90a
commit 8e49f01054

View File

@@ -177,8 +177,13 @@ func (tx *Tx) Parser() error {
tx.Swaps = append(tx.Swaps, swap) tx.Swaps = append(tx.Swaps, swap)
} }
// tx.Swaps = append(tx.Swaps, swaps...) // tx.Swaps = append(tx.Swaps, swaps...)
j = int(offset[1]) if ii == int(offset[0]) && j == int(offset[1]) {
ii = int(offset[0]) j = j + 1
} else {
j = int(offset[1])
ii = int(offset[0])
}
} else if p, exists := actionPrograms[innerProgramAccount]; exists { } else if p, exists := actionPrograms[innerProgramAccount]; exists {
offset, err := p(tx, innerInstr, innersMap[i], [2]uint{uint(i), uint(j)}) offset, err := p(tx, innerInstr, innersMap[i], [2]uint{uint(i), uint(j)})
if err != nil { if err != nil {