Update output types to use hexnum or hexdata

Benefits from automatic output formatting differences between
quantities and data
This commit is contained in:
Taylor Gerring
2015-03-31 17:40:35 +02:00
parent 3a948b2dba
commit 81aeb78976
2 changed files with 112 additions and 106 deletions

View File

@ -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)