funding: initialize remove channel.
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -506,8 +506,9 @@ func NewBrontide(cfg Config) *Brontide {
|
|||||||
activeChannels: &lnutils.SyncMap[
|
activeChannels: &lnutils.SyncMap[
|
||||||
lnwire.ChannelID, *lnwallet.LightningChannel,
|
lnwire.ChannelID, *lnwallet.LightningChannel,
|
||||||
]{},
|
]{},
|
||||||
newActiveChannel: make(chan *newChannelMsg, 1),
|
newActiveChannel: make(chan *newChannelMsg, 1),
|
||||||
newPendingChannel: make(chan *newChannelMsg, 1),
|
newPendingChannel: make(chan *newChannelMsg, 1),
|
||||||
|
removePendingChannel: make(chan *newChannelMsg),
|
||||||
|
|
||||||
activeMsgStreams: make(map[lnwire.ChannelID]*msgStream),
|
activeMsgStreams: make(map[lnwire.ChannelID]*msgStream),
|
||||||
activeChanCloses: make(map[lnwire.ChannelID]*chancloser.ChanCloser),
|
activeChanCloses: make(map[lnwire.ChannelID]*chancloser.ChanCloser),
|
||||||
|
|||||||
Reference in new issue
Block a user