Add missing ln service

This commit is contained in:
Michael Bumann
2022-01-19 17:48:43 +01:00
parent 5c5f600147
commit 9e772a95a8

12
lib/service/ln.go Normal file
View File

@@ -0,0 +1,12 @@
package service
import (
"context"
"github.com/lightningnetwork/lnd/lnrpc"
)
func (svc *LndhubService) GetInfo(ctx context.Context) (*lnrpc.GetInfoResponse, error) {
lndClient := *svc.LndClient
return lndClient.GetInfo(ctx, &lnrpc.GetInfoRequest{})
}