aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-06 07:00:59 +0800
committerobscuren <geffobscura@gmail.com>2015-02-06 07:00:59 +0800
commite40c1c62ce0c2d9567066d84ea74fd24b424a81a (patch)
tree03fe0de4881f541a4a8dc2baae6a0da97ac8a7f7 /xeth
parent6b5f25802e73056702b743e0cab284cef49381ad (diff)
downloadgo-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar
go-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.gz
go-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.bz2
go-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.lz
go-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.xz
go-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.zst
go-tangerine-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.zip
API changed to use Pubkey only. Reflected that change in the rest of the api
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...),
}