Closed ncitron closed 2 years ago
Hi, please consider use UnpackIntoInterface(&transferEvent, "Transfer", vLog.Data)
best regards
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In the ebook,
ABI.Unpack
takes three arguments:interface{}
,string
and[]byte
. This seems to have changed in the recent versions of geth, which now hasUnpack
not take an interface, and instead returns a[]interface{}
representing the event's data.