Convert `shutdown` invalid script checks to warning messages
authorMatt Corallo <git@bluematt.me>
Thu, 30 Sep 2021 22:45:07 +0000 (22:45 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 11 Jan 2022 19:48:20 +0000 (19:48 +0000)
commit26fe0f753dc5116ab6fe5d078c9f30a318559502
tree6fcba7e7bc7aef8c3a881340d350aced5fab15d4
parente137cfb3c48e11ee1ad1e1febdb6511b4dbbbcb4
Convert `shutdown` invalid script checks to warning messages

As required by the warning messages PR, we should simply warn our
counterparty in this case and let them try again, continuing to try
to use the channel until they tell us otherwise.
lightning/src/ln/channel.rs
lightning/src/ln/shutdown_tests.rs