Skip to content

Commit

Permalink
Merge pull request #2013 from kaloudis/embedded-lnd-list-invoices-fix
Browse files Browse the repository at this point in the history
Embedded LND: ListInvoices: increase max count and reverse
  • Loading branch information
kaloudis authored Mar 4, 2024
2 parents de7fc1b + 94b4863 commit c1747ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lndmobile/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,10 @@ export const listInvoices = async (): Promise<lnrpc.ListInvoiceResponse> => {
request: lnrpc.ListInvoiceRequest,
response: lnrpc.ListInvoiceResponse,
method: 'ListInvoices',
options: {}
options: {
reversed: true,
num_max_invoices: Long.fromValue(1000)
}
});
return response;
};
Expand Down

0 comments on commit c1747ff

Please sign in to comment.