[fuzz] Don't allow HandleError in chanmon_consistency
authorMatt Corallo <git@bluematt.me>
Tue, 17 Nov 2020 21:08:44 +0000 (16:08 -0500)
committerMatt Corallo <git@bluematt.me>
Sat, 21 Nov 2020 17:11:56 +0000 (12:11 -0500)
We should never generate Ignore-action HandleError events anymore

fuzz/src/chanmon_consistency.rs

index 8a17719f9bbafab5a85c2b0f274cb5a46783d61e..441931d654c4d1a5c4d365571bf28b397897dc05 100644 (file)
@@ -596,10 +596,6 @@ pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
                                                        // Can be generated due to a payment forward being rejected due to a
                                                        // channel having previously failed a monitor update
                                                },
-                                               events::MessageSendEvent::HandleError { action: ErrorAction::IgnoreError, .. } => {
-                                                       // Can be generated at any processing step to send back an error, disconnect
-                                                       // peer or just ignore
-                                               },
                                                _ => panic!("Unhandled message event"),
                                        }
                                }