mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
accounts/abi: template: set events Raw field in Parse methods (#21807)
This commit is contained in:
parent
c7efbcd9fd
commit
7f2ae32933
1 changed files with 1 additions and 0 deletions
|
|
@ -540,6 +540,7 @@ var (
|
|||
if err := _{{$contract.Type}}.contract.UnpackLog(event, "{{.Original.Name}}", log); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
event.Raw = log
|
||||
return event, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue