Skip to content

Commit

Permalink
ExtractRawMessages for HighloadV3
Browse files Browse the repository at this point in the history
  • Loading branch information
akos-tk committed Sep 10, 2024
1 parent d3cd769 commit dcf7966
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wallet/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ func ExtractRawMessages(ver Version, msg *boc.Cell) ([]RawMessage, error) {
return nil, err
}
return hl.RawMessages, nil
case HighLoadV3R1:
hl, err := DecodeHighloadV3Message(msg)
if err != nil {
return nil, err
}
return hl.Messages, nil
default:
return nil, fmt.Errorf("wallet version is not supported: %v", ver)
}
Expand Down

0 comments on commit dcf7966

Please sign in to comment.