mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-17 03:45:53 +01:00
init channel
This commit is contained in:
@@ -29,7 +29,9 @@ type CLNClientOptions struct {
|
||||
}
|
||||
|
||||
func NewCLNClient(options CLNClientOptions) (*CLNClient, error) {
|
||||
handler := &InvoiceHandler{}
|
||||
handler := &InvoiceHandler{
|
||||
invoiceChan: make(chan *lnrpc.Invoice),
|
||||
}
|
||||
return &CLNClient{
|
||||
handler: handler,
|
||||
client: &cln.Client{
|
||||
|
||||
Reference in New Issue
Block a user