diff options
Diffstat (limited to 'signer/core')
-rw-r--r-- | signer/core/abihelper_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/signer/core/abihelper_test.go b/signer/core/abihelper_test.go index 2afeec73e..878210be1 100644 --- a/signer/core/abihelper_test.go +++ b/signer/core/abihelper_test.go @@ -38,13 +38,13 @@ func verify(t *testing.T, jsondata, calldata string, exp []interface{}) { cd := common.Hex2Bytes(calldata) sigdata, argdata := cd[:4], cd[4:] method, err := abispec.MethodById(sigdata) - if err != nil { t.Fatal(err) } - data, err := method.Inputs.UnpackValues(argdata) - + if err != nil { + t.Fatal(err) + } if len(data) != len(exp) { t.Fatalf("Mismatched length, expected %d, got %d", len(exp), len(data)) } |