Add is_permanent field to ChannelClosed message and add NodeFailure
[rust-lightning] / fuzz / fuzz_targets / router_target.rs
index 52f9a235fe731aa93bfa94b4ccaa913a53df41bf..f7b373cdbc97683057a26df8cd20efc284b0300e 100644 (file)
@@ -187,7 +187,7 @@ pub fn do_test(data: &[u8]) {
                                        },
                                        1 => {
                                                let short_channel_id = slice_to_be64(get_slice!(8));
-                                               router.handle_htlc_fail_channel_update(&msgs::HTLCFailChannelUpdate::ChannelClosed {short_channel_id});
+                                               router.handle_htlc_fail_channel_update(&msgs::HTLCFailChannelUpdate::ChannelClosed {short_channel_id, is_permanent: false});
                                        },
                                        _ => return,
                                }