mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
fix lint
This commit is contained in:
parent
e5346904e7
commit
c98d7bfebf
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ func (typedData *TypedData) encodeArrayValue(encValue interface{}, encType strin
|
|||
err error
|
||||
)
|
||||
if reflect.TypeOf(item).Elem().Kind() == reflect.Uint8 {
|
||||
// the item type is bytes. encode the bytes array directly instead of recursing.
|
||||
// the item type is bytes. encode the bytes array directly instead of recursing.
|
||||
encodedData, err = typedData.EncodePrimitiveValue(parsedType, item, depth+1)
|
||||
} else {
|
||||
encodedData, err = typedData.encodeArrayValue(item, parsedType, depth+1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue