diff --git a/accounts/abi/event.go b/accounts/abi/event.go index 44ed7b8df2..860db06096 100644 --- a/accounts/abi/event.go +++ b/accounts/abi/event.go @@ -71,14 +71,15 @@ func (e Event) tupleUnpack(v interface{}, output []byte) error { if input.Indexed { // can't read, continue continue - } else if input.Type.T == ArrayTy { - // need to move this up because they read sequentially - j += input.Type.Size } marshalledValue, err := toGoType((i+j)*32, input.Type, output) if err != nil { return err } + if input.Type.T == ArrayTy { + // need to move this up because they read sequentially + j += input.Type.Size - 1 + } reflectValue := reflect.ValueOf(marshalledValue) switch value.Kind() {