mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-15 15:49:09 +00:00
Output filter ID as hex
This commit is contained in:
parent
704914be08
commit
21fca93852
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue