diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-17 19:11:46 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-17 19:11:46 +0800 |
commit | 4afc22ba6e79fe951256251444b4a5b8d38b50fb (patch) | |
tree | dff06f8e9569293df1a20d6b38cc76c42e31a236 /whisper/topic.go | |
parent | bd14bd6c5b8fcfb2430720da58de152dbbcb84ab (diff) | |
download | dexon-4afc22ba6e79fe951256251444b4a5b8d38b50fb.tar.gz dexon-4afc22ba6e79fe951256251444b4a5b8d38b50fb.tar.zst dexon-4afc22ba6e79fe951256251444b4a5b8d38b50fb.zip |
whisper: cleanup lefover scoping
Diffstat (limited to 'whisper/topic.go')
-rw-r--r-- | whisper/topic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/topic.go b/whisper/topic.go index 7c26cfba9..a965c7cc2 100644 --- a/whisper/topic.go +++ b/whisper/topic.go @@ -52,7 +52,7 @@ func (self *Topic) String() string { type topicSet map[string]struct{} // NewTopicSet creates a topic hash set from a slice of topics. -func NewTopicSet(topics []Topic) topicSet { +func newTopicSet(topics []Topic) topicSet { set := make(map[string]struct{}) for _, topic := range topics { set[topic.String()] = struct{}{} |