Skip to content

[Bug] Elements-23.2.2 with CT discount cannot send full balance less fee #1358

@Impa10r

Description

@Impa10r

When sendtoaddress is called to send the whole liquid balance less margin for fee (75-200 sats) CT discount is not applied and results in:

error code: -6
error message:
Insufficient funds

ElementsProject/peerswap#304 (comment)

We understand there is an option subtractfeefromamount, but prefer not to use it.

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