mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
invoicesrpc: remove direct access to ChannelGraph pointer
This commit is contained in:
@@ -262,7 +262,7 @@ func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config,
|
||||
subCfgValue.FieldByName("DefaultCLTVExpiry").Set(
|
||||
reflect.ValueOf(defaultDelta),
|
||||
)
|
||||
subCfgValue.FieldByName("GraphDB").Set(
|
||||
subCfgValue.FieldByName("Graph").Set(
|
||||
reflect.ValueOf(graphDB),
|
||||
)
|
||||
subCfgValue.FieldByName("ChanStateDB").Set(
|
||||
|
Reference in New Issue
Block a user