From d712ff05cf0dc0b2a5495f5dc6a978103112dfd0 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Mon, 20 Jul 2015 11:23:42 -0700 Subject: [PATCH] vm's Log events are lowercased --- vm/types.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vm/types.go b/vm/types.go index 6280ebc2..970f152d 100644 --- a/vm/types.go +++ b/vm/types.go @@ -25,11 +25,13 @@ func (acc *Account) String() string { acc.Address, acc.Balance, acc.Code, acc.Nonce, acc.StorageRoot) } +// NOTE: This is serialized as an event from vm/vm. +// See: EventStringLogEvent type Log struct { - Address Word256 - Topics []Word256 - Data []byte - Height int64 + Address Word256 `json:"address"` + Topics []Word256 `json:"topics"` + Data []byte `json:"data"` + Height int64 `json:"height"` } type AppState interface {