Skip to content

Possibly incorrect channel reserve referenced when updating feerate_per_kw #612

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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