Browse Source
Merge pull request #923 from mrfelton/fix/increase-invoice-list-size
fix(wallet): increase invoice fetch count to 1000
renovate/lint-staged-8.x
JimmyMow
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/lib/lnd/methods/invoicesController.js
|
|
@ -26,7 +26,7 @@ export function addInvoice(lnd, { memo, value, private: privateInvoice }) { |
|
|
|
*/ |
|
|
|
export function listInvoices(lnd) { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
lnd.listInvoices({}, (err, data) => { |
|
|
|
lnd.listInvoices({ num_max_invoices: 1000 }, (err, data) => { |
|
|
|
if (err) { |
|
|
|
return reject(err) |
|
|
|
} |
|
|
|