diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-11 06:11:19 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-11 06:11:19 +0800 |
commit | 8482855bc75071a6cb386afb02fef9ffe1fb0d88 (patch) | |
tree | 6bb6321819cb313c6d6f71390639189b5ce9c714 | |
parent | acb59f3243bf1e12185912ba0684007247ade7ca (diff) | |
parent | 2e0694b606ba6cb2fc78dbda641deb1e8d156024 (diff) | |
download | go-tangerine-8482855bc75071a6cb386afb02fef9ffe1fb0d88.tar.gz go-tangerine-8482855bc75071a6cb386afb02fef9ffe1fb0d88.tar.zst go-tangerine-8482855bc75071a6cb386afb02fef9ffe1fb0d88.zip |
Merge pull request #1218 from tgerring/rpcsign
Updated RPC sign test
-rw-r--r-- | rpc/args_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go index fc10d68cf..81a2972cd 100644 --- a/rpc/args_test.go +++ b/rpc/args_test.go @@ -2519,6 +2519,14 @@ func TestSigArgs(t *testing.T) { if err := json.Unmarshal([]byte(input), &args); err != nil { t.Error(err) } + + if expected.From != args.From { + t.Errorf("From should be %v but is %v", expected.From, args.From) + } + + if expected.Data != args.Data { + t.Errorf("Data should be %v but is %v", expected.Data, args.Data) + } } func TestSigArgsEmptyData(t *testing.T) { |