mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 06:35:07 +01:00
lnd: properly initialize the htlcSwitch's quit channel
This commit is contained in:
parent
4d1a1d2799
commit
366d076eda
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue