X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Fln%2Fchanmon_update_fail_tests.rs;fp=lightning%2Fsrc%2Fln%2Fchanmon_update_fail_tests.rs;h=d8104989b855827a6bd86a356a86d22981529c2e;hb=1714065a323a88eb323b859ae3b925d35ec0b46e;hp=1b2329041fc79256bfdfe356e86d0336ebbefdd7;hpb=08cf93e403af6dcac54b4341ab119fccf902831e;p=rust-lightning diff --git a/lightning/src/ln/chanmon_update_fail_tests.rs b/lightning/src/ln/chanmon_update_fail_tests.rs index 1b232904..d8104989 100644 --- a/lightning/src/ln/chanmon_update_fail_tests.rs +++ b/lightning/src/ln/chanmon_update_fail_tests.rs @@ -1721,3 +1721,7 @@ fn during_funding_monitor_fail() { do_during_funding_monitor_fail(true, true, true, true, false); do_during_funding_monitor_fail(true, true, false, false, false); } + +//TODO: Add a test that creates a channel, but in the inbound direction the monitor update fails to +//persist on funding_signed, but the channelmanager gets persisted, and then when we reload it from +//disk, we need to make sure the channel gets closed!