lndclient: add lookup invoice function to client interface

pull/208/head
carla 4 years ago
parent 8b1cdd414c
commit a57e34c71f
No known key found for this signature in database
GPG Key ID: 4CA7FE54A6213C91

@ -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)

Loading…
Cancel
Save