mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
Update abi.go
This commit is contained in:
parent
488d987fc4
commit
238210c132
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ func parseCallData(calldata []byte, unescapedAbidata string) (*decodedCallData,
|
||||||
if !bytes.Equal(encoded, argdata) {
|
if !bytes.Equal(encoded, argdata) {
|
||||||
was := common.Bytes2Hex(encoded)
|
was := common.Bytes2Hex(encoded)
|
||||||
exp := common.Bytes2Hex(argdata)
|
exp := common.Bytes2Hex(argdata)
|
||||||
return nil, fmt.Errorf("WARNING: Supplied data is stuffed with extra data. \nWant %s\nHave %s\nfor method %v", exp, was, method.Sig)
|
return nil, fmt.Errorf("WARNING: Supplied data is stuffed with extra data. \nWant %s\nHave %s\nfor method %v", was, exp, method.Sig)
|
||||||
}
|
}
|
||||||
return &decoded, nil
|
return &decoded, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue