revert commit on abi.go

Former-commit-id: 674e5d0d5c775a7aadf7722ddc3f1348b01cd713 [formerly cdfb7fae04ddb608566a0716f43062d26616a293]
Former-commit-id: 0032a4d6775f6a843cd7531db201c4ae75a7e39d
This commit is contained in:
Fynn
2018-03-24 17:18:53 +01:00
parent eb70fc73cd
commit 8ad2c66784

View File

@@ -86,7 +86,7 @@ func (abi ABI) Unpack(v interface{}, name string, output []byte) (err error) {
}
return method.Outputs.Unpack(v, output)
} else if event, ok := abi.Events[name]; ok {
return event.Inputs.unpackTuple(v, output)
return event.Inputs.Unpack(v, output)
}
return fmt.Errorf("abi: could not locate named method or event")
}