diff options
Diffstat (limited to 'rpc/util.go')
-rw-r--r-- | rpc/util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/util.go b/rpc/util.go index 9de8311d6..d3c3420ae 100644 --- a/rpc/util.go +++ b/rpc/util.go @@ -146,11 +146,11 @@ func toLogs(logs state.Logs) (ls []Log) { for i, log := range logs { var l Log l.Topic = make([]string, len(log.Topics())) - l.Address = common.ToHex(log.Address()) + l.Address = log.Address().Hex() l.Data = common.ToHex(log.Data()) l.Number = log.Number() for j, topic := range log.Topics() { - l.Topic[j] = common.ToHex(topic) + l.Topic[j] = topic.Hex() } ls[i] = l } |