aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/topic_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-22 17:50:48 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-28 15:49:04 +0800
commitdb615a85ec000dab7f73a6d4b1b46428ba4acdee (patch)
tree0ffc36dae8454fcbdcde7fa0d1e616365e87ad29 /whisper/topic_test.go
parentae4bfc3cfb3f1debad9dd0211950ce09038ffa90 (diff)
downloaddexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar
dexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.gz
dexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.bz2
dexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.lz
dexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.xz
dexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.zst
dexon-db615a85ec000dab7f73a6d4b1b46428ba4acdee.zip
ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards
Diffstat (limited to 'whisper/topic_test.go')
-rw-r--r--whisper/topic_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/whisper/topic_test.go b/whisper/topic_test.go
index 22ee06096..976f3e88d 100644
--- a/whisper/topic_test.go
+++ b/whisper/topic_test.go
@@ -9,9 +9,8 @@ var topicCreationTests = []struct {
data []byte
hash [4]byte
}{
- {hash: [4]byte{0xc5, 0xd2, 0x46, 0x01}, data: nil},
- {hash: [4]byte{0xc5, 0xd2, 0x46, 0x01}, data: []byte{}},
{hash: [4]byte{0x8f, 0x9a, 0x2b, 0x7d}, data: []byte("test name")},
+ {hash: [4]byte{0xf2, 0x6e, 0x77, 0x79}, data: []byte("some other test")},
}
func TestTopicCreation(t *testing.T) {