diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-31 23:40:35 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-31 23:40:35 +0800 |
commit | 81aeb789765cde7d84dc8aa74a6cab0851ce8503 (patch) | |
tree | bc86b5854f5396648884d233630eb7ad999e951f /rpc/responses_test.go | |
parent | 3a948b2dbaf22409507a2d3244032751b76432bb (diff) | |
download | dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.gz dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.bz2 dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.lz dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.xz dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.zst dexon-81aeb789765cde7d84dc8aa74a6cab0851ce8503.zip |
Update output types to use hexnum or hexdata
Benefits from automatic output formatting differences between
quantities and data
Diffstat (limited to 'rpc/responses_test.go')
-rw-r--r-- | rpc/responses_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpc/responses_test.go b/rpc/responses_test.go index 278939830..80e97a753 100644 --- a/rpc/responses_test.go +++ b/rpc/responses_test.go @@ -88,10 +88,10 @@ func TestLogRes(t *testing.T) { topics = append(topics, common.HexToHash("0x20")) v := &LogRes{ - Topics: topics, - Address: common.HexToAddress("0x0"), - Data: []byte{1, 2, 3}, - Number: uint64(5), + Topics: topics, + Address: common.HexToAddress("0x0"), + Data: []byte{1, 2, 3}, + BlockNumber: uint64(5), } _, _ = json.Marshal(v) |