Skip to content

[bug]: lncli listpayments --count_total_payments should honor --creation_date_start --creation_date_end #8530

Description

@AndySchroder

Background

lncli listpayments --count_total_payments should honor --creation_date_start and --creation_date_end

Steps to reproduce

$ lncli listpayments --count_total_payments|grep total_num_payments
    "total_num_payments": "30560"
$

and

$ lncli listpayments --creation_date_start 1650000000 --count_total_payments --creation_date_end 1650000001|grep total_num_payments
    "total_num_payments": "30560"
$

both yield the same thing.

I would expect

$ lncli listpayments --creation_date_start 1650000000 --count_total_payments --creation_date_end 1650000001|grep total_num_payments
    "total_num_payments": "0"
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2should be fixed if one has timebeginnerIssues suitable for new developersbugUnintended code behaviourgood first issueIssues suitable for first time contributors to LNDlnclirpcRelated to the RPC interface

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions