doc: peerset fixme
not changing this because i don't want to write a test for it now License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
Brian Tiger Chow committed
Dec 17, 2014 at 00:10 UTC
19764880d88b7fe9c19071242025eccf6b9ddde7
1 file changed
+1
-1
util/peerset/peerset.go
+1
-1
@@ -7,7 +7,7 @@ import (
7
8
// PeerSet is a threadsafe set of peers
9
type PeerSet struct {
10
- ps map[string]bool
10
+ ps map[string]bool // FIXME can be map[string]struct{}
11
lk sync.RWMutex
12
size int
13
}