Skip to content

Possibly incorrect channel reserve referenced when updating feerate_per_kw #612

Closed
@valentinewallace

Description

@valentinewallace

Referencing this line: https://github.com/rust-bitcoin/rust-lightning/blob/9098240e341cf09578819cdf1d2950303478b137/lightning/src/ln/channel.rs#L1850

I believe instead of self.their_channel_reserve, it should be self.get_our_channel_reserve() (because we're checking if the remote is going below their channel reserve (required by us) by updating the fee).

Lmk if I've misunderstood. Related to #181.

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