aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/whisper.go
diff options
context:
space:
mode:
Diffstat (limited to 'xeth/whisper.go')
-rw-r--r--xeth/whisper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/whisper.go b/xeth/whisper.go
index 52f4593e4..8e3bcefd0 100644
--- a/xeth/whisper.go
+++ b/xeth/whisper.go
@@ -64,7 +64,7 @@ func (self *Whisper) HasIdentity(key string) bool {
func (self *Whisper) Watch(opts *Options) int {
filter := whisper.Filter{
- To: crypto.ToECDSA(fromHex(opts.To)),
+ To: crypto.ToECDSAPub(fromHex(opts.To)),
From: crypto.ToECDSAPub(fromHex(opts.From)),
Topics: whisper.TopicsFromString(opts.Topics...),
}