aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/abi.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/abi/abi.go')
-rw-r--r--accounts/abi/abi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go
index da2ef9178..254b1f7fb 100644
--- a/accounts/abi/abi.go
+++ b/accounts/abi/abi.go
@@ -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")
}