diff --git a/pkg/router/router.go b/pkg/router/router.go index 04092041c0..baad021bc1 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -144,6 +144,7 @@ func New(n *snet.Network, config *Config) (Router, error) { rgs: make(map[routing.RouteDescriptor]*RouteGroup), rpcSrv: rpc.NewServer(), accept: make(chan routing.EdgeRules, acceptSize), + done: make(chan struct{}), trustedNodes: trustedNodes, }