config: add sub-server config parsing logic for the new Router service

This commit is contained in:
Olaoluwa Osuntokun
2018-10-22 21:46:18 -07:00
parent cfd6a0d860
commit 88252d759b
2 changed files with 27 additions and 2 deletions

View File

@@ -416,7 +416,7 @@ func newRPCServer(s *server, macService *macaroons.Service,
// server configuration struct.
err := subServerCgs.PopulateDependencies(
s.cc, networkDir, macService, atpl, invoiceRegistry,
activeNetParams.Params,
activeNetParams.Params, s.chanRouter,
)
if err != nil {
return nil, err