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{}),
|
linkControl: make(chan interface{}),
|
||||||
htlcPlex: make(chan *htlcPacket, htlcQueueSize),
|
htlcPlex: make(chan *htlcPacket, htlcQueueSize),
|
||||||
outgoingPayments: make(chan *htlcPacket, htlcQueueSize),
|
outgoingPayments: make(chan *htlcPacket, htlcQueueSize),
|
||||||
|
quit: make(chan struct{}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user