Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

channeld: defer first update_fee until we have an HTLC to send. #3634

Merged

Commits on Apr 13, 2020

  1. channeld: defer first update_fee until we have an HTLC to send.

    Sending update_fee immediately after channel establishment seems to
    upset LND, so work around it by deferring it.  The reason we increase
    the fee after establishment is because now we might need to close the
    channel in a hurry due to htlcs, but until there are htlcs that's
    unnecessary.
    
    Fixes: ElementsProject#3596
    Changelog-Changed: Added workaround for lnd rejecting our commitment_signed when we send an update_fee after channel confirmed.
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    462e62e View commit details
    Browse the repository at this point in the history