Implement Writer/Reader
[rust-lightning] / fuzz / fuzz_targets / channel_target.rs
index 7b3b7df1ce2ec3ddcc039212e92352bddef8b246..d2a4fbca94a2aa24cdeaf6beec5e9f7e2c01172c 100644 (file)
@@ -131,6 +131,8 @@ pub fn do_test(data: &[u8]) {
                                        msgs::DecodeError::ExtraAddressesPerType => return,
                                        msgs::DecodeError::BadLengthDescriptor => return,
                                        msgs::DecodeError::ShortRead => panic!("We picked the length..."),
+                                       msgs::DecodeError::InvalidValue => panic!("Writeable not used yet..."),
+                                       msgs::DecodeError::Io(_) => panic!("Writeable not used yet..."),
                                }
                        }
                }
@@ -154,6 +156,8 @@ pub fn do_test(data: &[u8]) {
                                                msgs::DecodeError::ExtraAddressesPerType => return,
                                                msgs::DecodeError::BadLengthDescriptor => return,
                                                msgs::DecodeError::ShortRead => panic!("We picked the length..."),
+                                               msgs::DecodeError::InvalidValue => panic!("Writeable not used yet..."),
+                                               msgs::DecodeError::Io(_) => panic!("Writeable not used yet..."),
                                        }
                                }
                        }