Skip to content

maxfeepercent should be ignored for small payments e.g. < 10 sat #1746

@SerafinTech

Description

@SerafinTech

Can't send payments of 1 satoshi to some expermental online games

fee_too_high = (feepercent > pay->maxfeepercent);

Change that to something like
fee_too_high = (feepercent > pay->maxfeepercent && fee > minfee);

Where minfee default to 2000 millisatoshi. Maybe even add minfee in pay RPC call.

Would help on sites requiring 1 sat for access to a game when everyone is defaulting to a min of 1 satoshi fee for HTLC even C-Lightning

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions