diff --git a/fundingmanager.go b/fundingmanager.go index 2aac5b89..22b5d47c 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -640,7 +640,7 @@ func (f *fundingManager) Start() error { go func(dbChan *channeldb.OpenChannel) { defer f.wg.Done() - err = f.annAfterSixConfs(channel, shortChanID) + err = f.annAfterSixConfs(dbChan, shortChanID) if err != nil { fndgLog.Errorf("error sending channel "+ "announcement: %v", err)