Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d447ef2e8 |
@@ -129,7 +129,7 @@ func (tx *Tx) Parser() error {
|
|||||||
tx.Swaps = swaps
|
tx.Swaps = swaps
|
||||||
}
|
}
|
||||||
for i, instr := range tx.rawTx.Transaction.Message.Instructions {
|
for i, instr := range tx.rawTx.Transaction.Message.Instructions {
|
||||||
if p, exists := actionPrograms[programAccount]; exists {
|
if p, exists := actionPrograms[accountList[instr.ProgramIDIndex]]; exists {
|
||||||
_, err := p(tx, instr, InnerInstructions{}, [2]uint{uint(i), uint(0)})
|
_, err := p(tx, instr, InnerInstructions{}, [2]uint{uint(i), uint(0)})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, InstructionIgnoredError) {
|
if errors.Is(err, InstructionIgnoredError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user