rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

Reject fee udpate post-shutdown when no HTLCs remain

Open TheBlueMatt opened this issue 3 years ago • 2 comments

This could throw off our closing signed stuff, and its just confusing, and already forbidden, so we should just forbid it too. Spec says:

if no HTLCs remain in either commitment transaction:
    MUST NOT send any update message after a shutdown.

TheBlueMatt avatar Mar 14 '22 19:03 TheBlueMatt

So if this is something manageable, I can grab it and go with it as I'd like to dig into these bits.

dunxen avatar Apr 28 '22 18:04 dunxen

We may actually just change the spec here - its not clear that this accomplishes anything in the spec aside from complication - https://github.com/lightning/bolts/pull/972

TheBlueMatt avatar Apr 28 '22 19:04 TheBlueMatt