(param string)
| 119 | } |
| 120 | |
| 121 | func ParseNeovmParamByteArray(param string) (interface{}, error) { |
| 122 | res, err := hex.DecodeString(param) |
| 123 | if err != nil { |
| 124 | return nil, fmt.Errorf("parse byte array param:%s error:%s", param, err) |
| 125 | } |
| 126 | return res, nil |
| 127 | } |
no test coverage detected