mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
autopilot: take channel min htlc from config
This commit is contained in:
2
lnd.go
2
lnd.go
@@ -479,7 +479,7 @@ func Main(lisCfg ListenerCfg) error {
|
||||
// Set up an autopilot manager from the current config. This will be
|
||||
// used to manage the underlying autopilot agent, starting and stopping
|
||||
// it at will.
|
||||
atplCfg, err := initAutoPilot(server, cfg.Autopilot)
|
||||
atplCfg, err := initAutoPilot(server, cfg.Autopilot, mainChain)
|
||||
if err != nil {
|
||||
err := fmt.Errorf("Unable to initialize autopilot: %v", err)
|
||||
ltndLog.Error(err)
|
||||
|
Reference in New Issue
Block a user