accounts/abi: template: set events Raw field in Parse methods (#21807)

pull/21860/head
Nicolas Feignon 4 years ago committed by GitHub
parent 2045a2bba3
commit cf856ea1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      accounts/abi/bind/template.go

@ -541,6 +541,7 @@ var (
if err := _{{$contract.Type}}.contract.UnpackLog(event, "{{.Original.Name}}", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
}

Loading…
Cancel
Save