Skip to content

Limit number of route hints while creating an invoice #1782

Closed
@G8XSU

Description

@G8XSU

Currently, there is no limit to number of route hints that we add to invoice.
Depending on how many channels a node has, this can lead to pretty large invoices being generated which might break multiple client systems.

Lnd currently limits route hints to 20.

Relevant comment:
Originally posted by @G8XSU in #1769 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions