lnrpc+lncli: adds required reserve rpc & cli

This commit is contained in:
priyanshiiit committed 2022-06-28 23:31:51 +05:30
1 parent 8578433b3d
commit 3befeadaf3
11 files changed
+992 -558

No files matched your search

+3
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)