diff --git a/lndclient/lightning_client.go b/lndclient/lightning_client.go index f09a43f..57827c2 100644 --- a/lndclient/lightning_client.go +++ b/lndclient/lightning_client.go @@ -39,6 +39,9 @@ type LightningClient interface { AddInvoice(ctx context.Context, in *invoicesrpc.AddInvoiceData) ( lntypes.Hash, string, error) + // LookupInvoice looks up an invoice by hash. + LookupInvoice(ctx context.Context, hash lntypes.Hash) (*Invoice, error) + // ListTransactions returns all known transactions of the backing lnd // node. ListTransactions(ctx context.Context) ([]*wire.MsgTx, error)