mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update signer/core/apitypes/types.go
This commit is contained in:
parent
3490f3083f
commit
4e721fb390
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue