lnd: properly initialize the htlcSwitch's quit channel

This commit is contained in:
Olaoluwa Osuntokun 2016-08-03 22:25:32 -07:00
parent 4d1a1d2799
commit 366d076eda
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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{}),
}
}