aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-11 03:16:53 +0800
committerobscuren <geffobscura@gmail.com>2015-03-11 03:16:53 +0800
commit35841e51901149a496645b3c3c6be4ec7a58e6c6 (patch)
tree1a315b790204e70f0f77c18845b3f19357dbfb29 /rpc
parentd9f96293bee9bee16ee6abd9774b385df0b9ad87 (diff)
downloaddexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.tar
dexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.tar.gz
dexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.tar.bz2
dexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.tar.lz
dexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.tar.xz
dexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.tar.zst
dexon-35841e51901149a496645b3c3c6be4ec7a58e6c6.zip
id to hex
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 0abed3c14..511b819c1 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -195,7 +195,7 @@ func (self *EthereumApi) NewFilterString(args string, reply *interface{}) error
id = self.filterManager.InstallFilter(filter)
self.logs[id] = &logFilter{timeout: time.Now()}
- *reply = id
+ *reply = i2hex(id)
return nil
}