mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
lnd: properly initialize the htlcSwitch's quit channel
This commit is contained in:
parent
4d1a1d2799
commit
366d076eda
@ -89,6 +89,7 @@ func newHtlcSwitch() *htlcSwitch {
|
||||
linkControl: make(chan interface{}),
|
||||
htlcPlex: make(chan *htlcPacket, htlcQueueSize),
|
||||
outgoingPayments: make(chan *htlcPacket, htlcQueueSize),
|
||||
quit: make(chan struct{}),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user