mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-30 10:35:32 +02:00
rpcserver+subrpcserver: don't use global cfg
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user