Rewrite monitor_update_failed as it didn't capture all the options
authorMatt Corallo <git@bluematt.me>
Tue, 8 Jan 2019 04:10:51 +0000 (23:10 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 22 Jan 2019 19:34:18 +0000 (14:34 -0500)
commit4cceb58f91e8cb0e91b9c1fd2e90646a00c21541
tree11c35b9b4ea550f0d3183cbb3eb6683d6c6ebcf5
parent1633c1f8f861764a2f76a20d80332b92b65d264d
Rewrite monitor_update_failed as it didn't capture all the options

Primarily this fixes the case where we receive an RAA which does
not require a response, allowing us to call monitor_update_failed
without generating pending messages.
src/ln/channel.rs
src/ln/channelmanager.rs
src/ln/functional_tests.rs