Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOLT #2: bad update_fee after shutdown when all HTLCs cleared.
I got an unexpected update_fee message after `shutdown` exchange, which is currently legal: A: shutdown (no htlcs) B: receive shutdown B: reply with shutdown & closing_signed A: send update_fee & commitment_signed A: receive shutdown Simplest to ban any updates (currently, just update_fee) from adding a new commitment tx while we're at the end of shutdown. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information