diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-06 07:00:59 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-06 07:00:59 +0800 |
commit | e40c1c62ce0c2d9567066d84ea74fd24b424a81a (patch) | |
tree | 03fe0de4881f541a4a8dc2baae6a0da97ac8a7f7 /ui | |
parent | 6b5f25802e73056702b743e0cab284cef49381ad (diff) | |
download | dexon-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.gz dexon-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.tar.zst dexon-e40c1c62ce0c2d9567066d84ea74fd24b424a81a.zip |
API changed to use Pubkey only. Reflected that change in the rest of the api
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/qwhisper/whisper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/qwhisper/whisper.go b/ui/qt/qwhisper/whisper.go index 98bfc69b0..2bc455b0b 100644 --- a/ui/qt/qwhisper/whisper.go +++ b/ui/qt/qwhisper/whisper.go @@ -106,7 +106,7 @@ func (self *Whisper) Messages(id int) (messages *ethutil.List) { func filterFromMap(opts map[string]interface{}) (f whisper.Filter) { if to, ok := opts["to"].(string); ok { - f.To = crypto.ToECDSA(fromHex(to)) + f.To = crypto.ToECDSAPub(fromHex(to)) } if from, ok := opts["from"].(string); ok { f.From = crypto.ToECDSAPub(fromHex(from)) |