aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-12 21:20:07 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-12 21:20:07 +0800
commit21fca9385220850d88433f406378f1bd683b25ad (patch)
tree584fdee19db99233c42d79b0703d134b266b84e0 /rpc/api.go
parent704914be08d0ec6398bd8bec9b1e04103ea0395d (diff)
downloaddexon-21fca9385220850d88433f406378f1bd683b25ad.tar
dexon-21fca9385220850d88433f406378f1bd683b25ad.tar.gz
dexon-21fca9385220850d88433f406378f1bd683b25ad.tar.bz2
dexon-21fca9385220850d88433f406378f1bd683b25ad.tar.lz
dexon-21fca9385220850d88433f406378f1bd683b25ad.tar.xz
dexon-21fca9385220850d88433f406378f1bd683b25ad.tar.zst
dexon-21fca9385220850d88433f406378f1bd683b25ad.zip
Output filter ID as hex
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index ba6c54d64..44b8ee834 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -380,7 +380,7 @@ func (p *EthereumApi) NewWhisperFilter(args *WhisperFilterArgs, reply *interface
}
id = p.xeth().Whisper().Watch(opts)
p.messages[id] = &whisperFilter{timeout: time.Now()}
- *reply = id
+ *reply = toHex(big.NewInt(int64(id)).Bytes())
return nil
}