Add new DecodeError for messages that include zlib-compressed values
[rust-lightning] / fuzz / src / router.rs
index f9a263cc3254556036bc4640d07f40a9df6179d4..d0f7b13219fb3adb29b22715dee471cfc8b85332 100644 (file)
@@ -133,6 +133,7 @@ pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
                                        msgs::DecodeError::BadLengthDescriptor => return,
                                        msgs::DecodeError::ShortRead => panic!("We picked the length..."),
                                        msgs::DecodeError::Io(e) => panic!("{:?}", e),
+                                       msgs::DecodeError::UnsupportedCompression => return,
                                }
                        }
                }}