mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-12 14:42:38 +02:00
lnd: properly initialize the htlcSwitch's quit channel
This commit is contained in:
@@ -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{}),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user