Skip to content

Default to description hash if description is too long #312

@tnull

Description

@tnull

Currently, if users provide a description is too long, we would provide a DescriptionTooLong error.

However, we previously received user requests that need to fallback on a description hash in that case. Since we probably don't want to add more methods/parameters to switch the behavior, we should just fall back to using a description hash if the given string is too long.

We should however properly document this, as it might come to some users as a surprise that the actual description string is suddenly missing from the resulting invoice.

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