mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
invoices: remove unused invoiceSubscriptionKit wait group
This commit is contained in:
parent
5ddad90a17
commit
d099991339
1 changed files with 0 additions and 4 deletions
|
@ -1403,8 +1403,6 @@ type invoiceSubscriptionKit struct {
|
|||
// backlogDelivered is closed when the backlog events have been
|
||||
// delivered.
|
||||
backlogDelivered chan struct{}
|
||||
|
||||
wg sync.WaitGroup
|
||||
}
|
||||
|
||||
// InvoiceSubscription represents an intent to receive updates for newly added
|
||||
|
@ -1460,8 +1458,6 @@ func (i *invoiceSubscriptionKit) Cancel() {
|
|||
|
||||
i.ntfnQueue.Stop()
|
||||
close(i.cancelChan)
|
||||
|
||||
i.wg.Wait()
|
||||
}
|
||||
|
||||
func (i *invoiceSubscriptionKit) notify(event *invoiceEvent) error {
|
||||
|
|
Loading…
Add table
Reference in a new issue