diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-09 07:06:24 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-09 07:06:24 +0800 |
commit | b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e (patch) | |
tree | ae9f28a4c89ba70b4ee2091aa1b6a564f7a05f48 /xeth | |
parent | ac695387075fdd9214ef8de71ac6897136a50ce8 (diff) | |
parent | 16a04e64f23b7a81018c7fcf7626ca6965d9a809 (diff) | |
download | go-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.go | 2 |
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...), } |