mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
walletrpc+subserver_config: add coin selection strategy
With this commit we also add the config-level coin selection strategy to the wallet RPC server.
This commit is contained in:
@@ -197,6 +197,11 @@ func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config,
|
||||
subCfgValue.FieldByName("CurrentNumAnchorChans").Set(
|
||||
reflect.ValueOf(cc.Wallet.CurrentNumAnchorChans),
|
||||
)
|
||||
subCfgValue.FieldByName("CoinSelectionStrategy").Set(
|
||||
reflect.ValueOf(
|
||||
cc.Wallet.Cfg.CoinSelectionStrategy,
|
||||
),
|
||||
)
|
||||
|
||||
case *autopilotrpc.Config:
|
||||
subCfgValue := extractReflectValue(subCfg)
|
||||
|
Reference in New Issue
Block a user