autopilot: take channel min htlc from config

This commit is contained in:
Joost Jager committed 2019-12-11 00:17:10 +01:00
1 parent b6eb3a69ba
commit 61e114f201
2 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -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)