Skip to content

Check that a remote funder has enough balance to cover the two anchors #3672

Closed
@tankyleo

Description

@tankyleo

This check should include the two anchors that the funder must pay for.

if commitment_stats.remote_balance_msat < commitment_stats.total_fee_sat * 1000 + counterparty_reserve_we_require_msat {

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