From a5d2541292318c4c064c7fa32a1fe1279210cab1 Mon Sep 17 00:00:00 2001 From: ziggie Date: Sat, 20 Jan 2024 14:24:26 +0000 Subject: [PATCH] funding: initialize remove channel. --- peer/brontide.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/peer/brontide.go b/peer/brontide.go index d0df4f1e0..1611ff633 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -506,8 +506,9 @@ func NewBrontide(cfg Config) *Brontide { activeChannels: &lnutils.SyncMap[ lnwire.ChannelID, *lnwallet.LightningChannel, ]{}, - newActiveChannel: make(chan *newChannelMsg, 1), - newPendingChannel: make(chan *newChannelMsg, 1), + newActiveChannel: make(chan *newChannelMsg, 1), + newPendingChannel: make(chan *newChannelMsg, 1), + removePendingChannel: make(chan *newChannelMsg), activeMsgStreams: make(map[lnwire.ChannelID]*msgStream), activeChanCloses: make(map[lnwire.ChannelID]*chancloser.ChanCloser),