mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
revert commit on abi.go
Former-commit-id: 674e5d0d5c775a7aadf7722ddc3f1348b01cd713 [formerly cdfb7fae04ddb608566a0716f43062d26616a293] Former-commit-id: 0032a4d6775f6a843cd7531db201c4ae75a7e39d
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user