rpcserver+subrpcserver: don't use global cfg

This commit is contained in:
Oliver Gugger
2020-05-14 14:33:01 +02:00
parent 7c1304b31c
commit 50e86f88fe
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ type subRPCServerConfigs struct {
//
// NOTE: This MUST be called before any callers are permitted to execute the
// FetchConfig method.
func (s *subRPCServerConfigs) PopulateDependencies(cc *chainControl,
func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config, cc *chainControl,
networkDir string, macService *macaroons.Service,
atpl *autopilot.Manager,
invoiceRegistry *invoices.InvoiceRegistry,