We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df52e3 commit 335760bCopy full SHA for 335760b
accounts/abi/abi.go
@@ -82,7 +82,7 @@ func (abi ABI) Unpack(v interface{}, name string, output []byte) (err error) {
82
// we need to decide whether we're calling a method or an event
83
if method, ok := abi.Methods[name]; ok {
84
if len(output)%32 != 0 {
85
- return fmt.Errorf("abi: improperly formatted output")
+ return fmt.Errorf("abi: improperly formatted output: %s - Bytes: [%+v]", string(output), output)
86
}
87
return method.Outputs.Unpack(v, output)
88
} else if event, ok := abi.Events[name]; ok {
0 commit comments