aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv6/envelope.go
diff options
context:
space:
mode:
authorVlad <gluk256@gmail.com>2018-03-01 23:04:09 +0800
committerVlad <gluk256@gmail.com>2018-03-01 23:04:09 +0800
commitee75a90ab41fd9a2e5676a2371e529ac2908befa (patch)
tree4545344b40b16757115b081b6bedd610ceb591e1 /whisper/whisperv6/envelope.go
parent5a150e1b7724c91009a237ab0879cd64844b390d (diff)
downloaddexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.tar
dexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.tar.gz
dexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.tar.bz2
dexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.tar.lz
dexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.tar.xz
dexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.tar.zst
dexon-ee75a90ab41fd9a2e5676a2371e529ac2908befa.zip
whisper: topics replaced by bloom filters
Diffstat (limited to 'whisper/whisperv6/envelope.go')
-rw-r--r--whisper/whisperv6/envelope.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisperv6/envelope.go b/whisper/whisperv6/envelope.go
index c7bea2bb9..2c80d47bc 100644
--- a/whisper/whisperv6/envelope.go
+++ b/whisper/whisperv6/envelope.go
@@ -249,7 +249,7 @@ func (e *Envelope) Bloom() []byte {
// TopicToBloom converts the topic (4 bytes) to the bloom filter (64 bytes)
func TopicToBloom(topic TopicType) []byte {
- b := make([]byte, bloomFilterSize)
+ b := make([]byte, BloomFilterSize)
var index [3]int
for j := 0; j < 3; j++ {
index[j] = int(topic[j])