Update signer/core/apitypes/types.go
This commit is contained in:
parent
3490f3083f
commit
4e721fb390
|
@ -498,7 +498,6 @@ func (typedData *TypedData) encodeArrayValue(encValue interface{}, encType strin
|
||||||
|
|
||||||
arrayBuffer := new(bytes.Buffer)
|
arrayBuffer := new(bytes.Buffer)
|
||||||
parsedType := strings.Split(encType, "[")[0]
|
parsedType := strings.Split(encType, "[")[0]
|
||||||
|
|
||||||
for _, item := range arrayValue {
|
for _, item := range arrayValue {
|
||||||
if reflect.TypeOf(item).Kind() == reflect.Slice ||
|
if reflect.TypeOf(item).Kind() == reflect.Slice ||
|
||||||
reflect.TypeOf(item).Kind() == reflect.Array {
|
reflect.TypeOf(item).Kind() == reflect.Array {
|
||||||
|
|
Loading…
Reference in New Issue