diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-22 17:50:48 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-28 15:49:04 +0800 |
commit | db615a85ec000dab7f73a6d4b1b46428ba4acdee (patch) | |
tree | 0ffc36dae8454fcbdcde7fa0d1e616365e87ad29 /xeth | |
parent | ae4bfc3cfb3f1debad9dd0211950ce09038ffa90 (diff) | |
download | go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.gz go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.bz2 go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.lz go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.xz go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.zst go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.zip |
ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards
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 25c4af3b1..36c6ca63f 100644 --- a/xeth/whisper.go +++ b/xeth/whisper.go @@ -71,7 +71,7 @@ func (self *Whisper) Watch(to, from string, topics [][]string, fn func(WhisperMe filter := whisper.Filter{ To: crypto.ToECDSAPub(common.FromHex(to)), From: crypto.ToECDSAPub(common.FromHex(from)), - Topics: whisper.NewTopicFilterFromStrings(topics...), + Topics: whisper.NewFilterTopicsFromStrings(topics...), } filter.Fn = func(message *whisper.Message) { fn(NewWhisperMessage(message)) |