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

This commit is contained in:
Nicolas Feignon 2020-11-13 13:43:15 +01:00 committed by GitHub
parent 2045a2bba3
commit cf856ea1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}