Output filter ID as hex

This commit is contained in:
Taylor Gerring 2015-03-12 08:20:07 -05:00
parent 704914be08
commit 21fca93852
1 changed files with 1 additions and 1 deletions

View File

@ -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
}