lnrpc+lncli: adds required reserve rpc & cli

This commit is contained in:
priyanshiiit
2022-06-20 18:43:29 +05:30
parent 8578433b3d
commit 3befeadaf3
11 changed files with 992 additions and 558 deletions

View File

@ -193,6 +193,9 @@ func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config,
subCfgValue.FieldByName("ChainParams").Set(
reflect.ValueOf(activeNetParams),
)
subCfgValue.FieldByName("CurrentNumAnchorChans").Set(
reflect.ValueOf(cc.Wallet.CurrentNumAnchorChans),
)
case *autopilotrpc.Config:
subCfgValue := extractReflectValue(subCfg)