]> git.bitcoin.ninja Git - rust-lightning/commit
Use new chan_restoration macros in channel_reestablish handling.
authorMatt Corallo <git@bluematt.me>
Fri, 20 Nov 2020 20:42:34 +0000 (15:42 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 1 Mar 2021 02:03:18 +0000 (21:03 -0500)
commit49c7b01e3228f5d9493a0d2e50973b3d1cee111b
treef259341fc63f6b39789a9f3b2ce5cd093ca61360
parenteb0b66460da45d65922b0ef703e1cd503d9b5206
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