diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-12 21:20:07 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-12 21:20:07 +0800 |
commit | 21fca9385220850d88433f406378f1bd683b25ad (patch) | |
tree | 584fdee19db99233c42d79b0703d134b266b84e0 /rpc/api.go | |
parent | 704914be08d0ec6398bd8bec9b1e04103ea0395d (diff) | |
download | dexon-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.go | 2 |
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 } |