diff --git a/funding/manager.go b/funding/manager.go index d10872bf6..500d4426c 100644 --- a/funding/manager.go +++ b/funding/manager.go @@ -634,7 +634,9 @@ func (f *Manager) start() error { f.newChanBarriers[chanID] = make(chan struct{}) f.barrierMtx.Unlock() + f.localDiscoveryMtx.Lock() f.localDiscoverySignals[chanID] = make(chan struct{}) + f.localDiscoveryMtx.Unlock() // Rebroadcast the funding transaction for any pending // channel that we initiated. No error will be returned