mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 06:27:31 +02:00
peer: remove unused queueQuit channel
In this commit, we remove an unused `queueQuit` channel.
This commit is contained in:
@@ -469,9 +469,8 @@ 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
|
|
||||||
|
|
||||||
// log is a peer-specific logging instance.
|
// log is a peer-specific logging instance.
|
||||||
log btclog.Logger
|
log btclog.Logger
|
||||||
@@ -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