diff --git a/autopilot/agent.go b/autopilot/agent.go index f302f8d4..8ad4a173 100644 --- a/autopilot/agent.go +++ b/autopilot/agent.go @@ -321,7 +321,9 @@ func (a *Agent) controller(startingBalance btcutil.Amount) { } } + pendingMtx.Lock() log.Debugf("Pending channels: %v", spew.Sdump(pendingOpens)) + pendingMtx.Unlock() // With all the updates applied, we'll obtain a set of // the current active channels (confirmed channels),