diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-26 17:14:52 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-26 17:14:52 +0800 |
commit | c7dc379da5a02fb8ac92788fa317379fbde00d20 (patch) | |
tree | d24ca050c0292cc8923af84da0ac236f4989fddb /rpc/args_test.go | |
parent | 7e1e264375fe4bebbf6bb40604d0060744ebae2a (diff) | |
download | dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.tar dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.tar.gz dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.tar.bz2 dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.tar.lz dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.tar.xz dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.tar.zst dexon-c7dc379da5a02fb8ac92788fa317379fbde00d20.zip |
GetBlockByHashArgs
Diffstat (limited to 'rpc/args_test.go')
-rw-r--r-- | rpc/args_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go index 5cbafd4b2..c6d3a558b 100644 --- a/rpc/args_test.go +++ b/rpc/args_test.go @@ -83,7 +83,7 @@ func TestGetBalanceEmptyArgs(t *testing.T) { func TestGetBlockByHashArgs(t *testing.T) { input := `["0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331", true]` expected := new(GetBlockByHashArgs) - expected.BlockHash = "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331" + expected.BlockHash = common.HexToHash("0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331") expected.IncludeTxs = true args := new(GetBlockByHashArgs) |