mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-15 12:50:28 +02:00
lndclient: add lookup invoice function to client interface
This commit is contained in:
parent
8b1cdd414c
commit
a57e34c71f
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue