Skip to content

Commit

Permalink
fix messages decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Mar 27, 2024
1 parent 78b7625 commit 0d20aad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions abi/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ func InternalMessageDecoder(cell *boc.Cell, interfaces []ContractInterface) (*Ms
}
}
}
cell.ResetCounters()
tag64, err := cell.PickUint(32)
if err != nil {
return nil, nil, nil, err
Expand Down Expand Up @@ -298,6 +299,7 @@ func ExtInMessageDecoder(cell *boc.Cell, interfaces []ContractInterface) (*MsgOp
}
}
}
cell.ResetCounters()
tag64, err := cell.PickUint(32)
if err != nil {
return nil, nil, nil, err
Expand Down Expand Up @@ -328,6 +330,7 @@ func ExtOutMessageDecoder(cell *boc.Cell, interfaces []ContractInterface, dest t
}
}
}
cell.ResetCounters()
tag64, err := cell.PickUint(32)
if err != nil {
return nil, nil, nil, err
Expand Down

0 comments on commit 0d20aad

Please sign in to comment.