must to next inner at least
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user