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
parent
commit
32502ce73b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/lib/lnd/methods/invoicesController.js

2
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)
}

Loading…
Cancel
Save