diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 05:14:31 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 05:14:31 +0800 |
commit | 49a912ce33274f60659ddb3af7e3fec89ee1b59e (patch) | |
tree | 2f9746df7472c2e0bb5d3fd236ead134d5615d6d /rpc/args_test.go | |
parent | 1f3814141b94166cc5bf5b439babe6cc56b3cebf (diff) | |
download | go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.tar go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.tar.gz go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.tar.bz2 go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.tar.lz go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.tar.xz go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.tar.zst go-tangerine-49a912ce33274f60659ddb3af7e3fec89ee1b59e.zip |
Undo xeth changes
Diffstat (limited to 'rpc/args_test.go')
-rw-r--r-- | rpc/args_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go index da98071e9..71f1a7058 100644 --- a/rpc/args_test.go +++ b/rpc/args_test.go @@ -191,7 +191,7 @@ func TestGetBalanceArgsAddressInvalid(t *testing.T) { func TestGetBlockByHashArgs(t *testing.T) { input := `["0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331", true]` expected := new(GetBlockByHashArgs) - expected.BlockHash = common.HexToHash("0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331") + expected.BlockHash = "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331" expected.IncludeTxs = true args := new(GetBlockByHashArgs) @@ -1444,7 +1444,7 @@ func TestBlockNumIndexArgsIndexInvalid(t *testing.T) { func TestHashIndexArgs(t *testing.T) { input := `["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b", "0x1"]` expected := new(HashIndexArgs) - expected.Hash = common.HexToHash("0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b") + expected.Hash = "0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b" expected.Index = 1 args := new(HashIndexArgs) |