mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-25 12:31:40 +02:00
peer: remove unused queueQuit channel
In this commit, we remove an unused `queueQuit` channel.
This commit is contained in:
@@ -469,7 +469,6 @@ type Brontide struct {
|
|||||||
// potentially holding lots of un-consumed events.
|
// potentially holding lots of un-consumed events.
|
||||||
channelEventClient *subscribe.Client
|
channelEventClient *subscribe.Client
|
||||||
|
|
||||||
queueQuit chan struct{}
|
|
||||||
quit chan struct{}
|
quit chan struct{}
|
||||||
wg sync.WaitGroup
|
wg sync.WaitGroup
|
||||||
|
|
||||||
@@ -501,7 +500,6 @@ func NewBrontide(cfg Config) *Brontide {
|
|||||||
linkFailures: make(chan linkFailureReport),
|
linkFailures: make(chan linkFailureReport),
|
||||||
chanCloseMsgs: make(chan *closeMsg),
|
chanCloseMsgs: make(chan *closeMsg),
|
||||||
resentChanSyncMsg: make(map[lnwire.ChannelID]struct{}),
|
resentChanSyncMsg: make(map[lnwire.ChannelID]struct{}),
|
||||||
queueQuit: make(chan struct{}),
|
|
||||||
quit: make(chan struct{}),
|
quit: make(chan struct{}),
|
||||||
log: build.NewPrefixLog(logPrefix, peerLog),
|
log: build.NewPrefixLog(logPrefix, peerLog),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user