lnd: properly initialize the htlcSwitch's quit channel
This commit is contained in:
1 file changed
+1
@@ -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