autopilot: revert passing ctx to Start methods

This commit is contained in:
Elle Mouton
2025-04-11 09:57:24 +02:00
committed by ziggie
parent 6202597eec
commit fe3a862ec3
5 changed files with 10 additions and 19 deletions

2
lnd.go
View File

@@ -788,7 +788,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, implCfg *ImplementationCfg,
// active, then we'll start the autopilot agent immediately. It will be
// stopped together with the autopilot service.
if cfg.Autopilot.Active {
if err := atplManager.StartAgent(ctx); err != nil {
if err := atplManager.StartAgent(); err != nil {
return mkErr("unable to start autopilot agent", err)
}
}