Merge pull request #1054 from ariard/2021-08-check-outbound-feerate
[rust-lightning] / fuzz / src / msg_targets / msg_update_add_htlc.rs
index ac4e67474a7fd6884c9fa2ab7a72df4eaad94b88..409f0fac8dff62e7f097ba6fad7a279230c29181 100644 (file)
@@ -1,3 +1,12 @@
+// This file is Copyright its original authors, visible in version control
+// history.
+//
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
+
 // This file is auto-generated by gen_target.sh based on msg_target_template.txt
 // To modify it, modify msg_target_template.txt and run gen_target.sh instead.
 
@@ -8,11 +17,11 @@ use utils::test_logger;
 
 #[inline]
 pub fn msg_update_add_htlc_test<Out: test_logger::Output>(data: &[u8], _out: Out) {
-       test_msg_hole!(msgs::UpdateAddHTLC, data, 85, 33);
+       test_msg_simple!(msgs::UpdateAddHTLC, data);
 }
 
 #[no_mangle]
 pub extern "C" fn msg_update_add_htlc_run(data: *const u8, datalen: usize) {
        let data = unsafe { std::slice::from_raw_parts(data, datalen) };
-       test_msg_hole!(msgs::UpdateAddHTLC, data, 85, 33);
+       test_msg_simple!(msgs::UpdateAddHTLC, data);
 }