aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-09 07:06:24 +0800
committerobscuren <geffobscura@gmail.com>2015-02-09 07:06:24 +0800
commitb22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e (patch)
treeae9f28a4c89ba70b4ee2091aa1b6a564f7a05f48 /xeth
parentac695387075fdd9214ef8de71ac6897136a50ce8 (diff)
parent16a04e64f23b7a81018c7fcf7626ca6965d9a809 (diff)
downloadgo-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar
go-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.gz
go-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.bz2
go-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.lz
go-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.xz
go-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.zst
go-tangerine-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.zip
merged
Diffstat (limited to 'xeth')
-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...),
}