From 81aeb789765cde7d84dc8aa74a6cab0851ce8503 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Tue, 31 Mar 2015 17:40:35 +0200 Subject: Update output types to use hexnum or hexdata Benefits from automatic output formatting differences between quantities and data --- rpc/responses_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rpc/responses_test.go') 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) -- cgit v1.2.3