diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-19 18:51:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-19 18:51:38 +0800 |
commit | 0057bb4ef6d55b5d580a4e0421526a477ef93de9 (patch) | |
tree | c42682f9399bc59d9a1623a4b159231e434fa8d5 /rpc/util.go | |
parent | 03b8c6841be08f19db0f98cea6d0a6f4fd64736f (diff) | |
download | dexon-0057bb4ef6d55b5d580a4e0421526a477ef93de9.tar.gz dexon-0057bb4ef6d55b5d580a4e0421526a477ef93de9.tar.zst dexon-0057bb4ef6d55b5d580a4e0421526a477ef93de9.zip |
WIP QT Clipboard
Diffstat (limited to 'rpc/util.go')
-rw-r--r-- | rpc/util.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/util.go b/rpc/util.go index 679d83754..366e315ac 100644 --- a/rpc/util.go +++ b/rpc/util.go @@ -80,7 +80,7 @@ type RpcServer interface { type Log struct { Address string `json:"address"` - Topics []string `json:"topics"` + Topic []string `json:"topics"` Data string `json:"data"` } @@ -89,11 +89,11 @@ func toLogs(logs state.Logs) (ls []Log) { for i, log := range logs { var l Log - l.Topics = make([]string, len(log.Topics())) + l.Topic = make([]string, len(log.Topics())) l.Address = toHex(log.Address()) l.Data = toHex(log.Data()) for j, topic := range log.Topics() { - l.Topics[j] = toHex(topic) + l.Topic[j] = toHex(topic) } ls[i] = l } |