Skip to content

Commit

Permalink
Embedded LND: ListInvoices: increase max count and reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Mar 1, 2024
1 parent 25bbdf5 commit 94b4863
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 94b4863

Please sign in to comment.