peer: remove unused queueQuit channel

In this commit, we remove an unused `queueQuit` channel.
This commit is contained in:
Olaoluwa Osuntokun
2023-07-25 11:05:58 -07:00
parent d46ee0bd74
commit 798821db17

View File

@@ -469,9 +469,8 @@ type Brontide struct {
// potentially holding lots of un-consumed events.
channelEventClient *subscribe.Client
queueQuit chan struct{}
quit chan struct{}
wg sync.WaitGroup
quit chan struct{}
wg sync.WaitGroup
// log is a peer-specific logging instance.
log btclog.Logger
@@ -501,7 +500,6 @@ func NewBrontide(cfg Config) *Brontide {
linkFailures: make(chan linkFailureReport),
chanCloseMsgs: make(chan *closeMsg),
resentChanSyncMsg: make(map[lnwire.ChannelID]struct{}),
queueQuit: make(chan struct{}),
quit: make(chan struct{}),
log: build.NewPrefixLog(logPrefix, peerLog),
}