aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/responses_test.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-31 23:40:35 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-31 23:40:35 +0800
commit81aeb789765cde7d84dc8aa74a6cab0851ce8503 (patch)
treebc86b5854f5396648884d233630eb7ad999e951f /rpc/responses_test.go
parent3a948b2dbaf22409507a2d3244032751b76432bb (diff)
downloadgo-tangerine-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.gz
go-tangerine-81aeb789765cde7d84dc8aa74a6cab0851ce8503.tar.zst
go-tangerine-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.go8
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)