Skip to content

Commit

Permalink
fix(p2p): Fix nil map in conn manager
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton committed Feb 5, 2019
1 parent 38e206f commit 79ec66f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/network/p2p/connmanager.go
Expand Up @@ -18,6 +18,7 @@ type ConnManager struct {
func NewConnManager(low, hi int, grace time.Duration) *ConnManager {
return &ConnManager{
connmanager: connmgr.NewConnManager(low, hi, grace),
relayMap: make(map[peer.ID]bool),
}
}

Expand Down

0 comments on commit 79ec66f

Please sign in to comment.