From: Antoine Riard Date: Fri, 27 Mar 2020 21:53:52 +0000 (-0400) Subject: Prevent any update of local commitment transaction once signed X-Git-Tag: v0.0.12~84^2~14 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e46e183084ed858f41aa304acd78503aea1a96ed;hp=e46e183084ed858f41aa304acd78503aea1a96ed;p=rust-lightning Prevent any update of local commitment transaction once signed To prevent any unsafe state discrepancy between offchain and onchain, once local commitment transaction has been signed due to an event (either block height for HTLC-timeout or channel force-closure), don't allow any further update of local commitment transaction view to avoid delivery of revocation secret to counterparty for the aformentionned signed transaction. ---