Merge pull request #1578 from Roasbeef/invoice-ntfn-buffer

invoiceregistry: make the invoice ntfn chan buffered
This commit is contained in:
Olaoluwa Osuntokun 2018-07-20 18:12:00 -07:00 committed by GitHub
commit b9947c1c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,7 +64,7 @@ func newInvoiceRegistry(cdb *channeldb.DB) *invoiceRegistry {
notificationClients: make(map[uint32]*invoiceSubscription),
newSubscriptions: make(chan *invoiceSubscription),
subscriptionCancels: make(chan uint32),
invoiceEvents: make(chan *invoiceEvent),
invoiceEvents: make(chan *invoiceEvent, 100),
quit: make(chan struct{}),
}
}