Skip to content

listinvoices returns an incomplete list #2475

@rorp

Description

@rorp

Steps to reproduce:

  1. start Eclair node
  2. create an invoice
  3. run
eclair-cli listinvoices 
  1. verify that the invoice created at step 2 is in the list
  2. wait a second
  3. create another invoice
  4. run
eclair-cli listinvoices 

Expected result: both invoices should be in the list
Actual result: only the first invoice is in the list

Apparently, the default values of --from and --to parameters get cached and get reset only after restart.
Reproduceable on current master 7c8bdb9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions