Unpack parameters has changed
ncitron opened this issue · comments
Noah Citron commented
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 has Unpack
not take an interface, and instead returns a []interface{}
representing the event's data.
aquavirgo commented
Hi,
please consider use UnpackIntoInterface(&transferEvent, "Transfer", vLog.Data)
best regards
stale commented
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.