You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closingd: fail the negotiation when lightningd rejects the peer's closing fee
lightningd's reply to closingd_received_signature carried only a txid.
closingd used it for the billboard and went on to agree to the offer,
so when lightningd had rejected the fee the close still completed and
drop_to_chain broadcast last_tx, which was still the commitment, while
the close command reported a mutual close.
Add the verdict to the reply. On a rejection lightningd logs it at
UNUSUAL, and closingd sends the peer a warning and exits instead of
agreeing, the same way it handles a fee range with no overlap. The
channel stays in CLOSINGD_SIGEXCHANGE: negotiation restarts on
reconnect with lightningd's current bounds, and the close command's
timeout decides when to close unilaterally.
Changelog-Fixed: lightningd: a closing fee lightningd rejects fails the negotiation instead of broadcasting the commitment as a mutual close.
(cherry picked from commit a944beb)
0 commit comments