]> git.bitcoin.ninja Git - rust-lightning/commit
Use new chan_restoration macros in channel_reestablish handling.
authorMatt Corallo <git@bluematt.me>
Thu, 18 Mar 2021 16:44:31 +0000 (12:44 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 21 May 2021 15:10:45 +0000 (15:10 +0000)
commitb2cb1fb5338e9469ec5dc2420a3c3ec94f047388
tree306393176cd5a4a82798f4039e8b31beb8375060
parent1fa2da391cd4bd51e8157a8a8ea05c6afc74a070
Use new chan_restoration macros in channel_reestablish handling.

This merges the code for restoring channel functionality between
channel monitor updating restored and peer reconnection, reducing
redundant code.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs