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

invoiceregistry: make the invoice ntfn chan buffered
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-07-20 18:12:00 -07:00
commit b9947c1c7c
1 file changed
+1 -1
+1 -1
View File
@@ -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{}),
}
}