Skip to content

Commit

Permalink
accounts/abi: template: set events Raw field in Parse methods (#21807)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfeignon authored Nov 13, 2020
1 parent 2045a2b commit cf856ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions accounts/abi/bind/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit cf856ea

Please sign in to comment.