X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Fmsg_targets%2Fmsg_open_channel.rs;h=cacb5d767d6169b0aaddff1700d2f22e8305b5d1;hb=9bf4b6ed90762b5d15549178be3e6707fcd6b86c;hp=f3a207deea372b11b65e926cf1d6c849441136fb;hpb=0d755456328d68151cdb66a1d8280912de7eb50c;p=rust-lightning diff --git a/fuzz/src/msg_targets/msg_open_channel.rs b/fuzz/src/msg_targets/msg_open_channel.rs index f3a207de..cacb5d76 100644 --- a/fuzz/src/msg_targets/msg_open_channel.rs +++ b/fuzz/src/msg_targets/msg_open_channel.rs @@ -1,18 +1,25 @@ +// This file is Copyright its original authors, visible in version control +// history. +// +// This file is licensed under the Apache License, Version 2.0 or the MIT license +// , 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. -use lightning::ln::msgs; - -use msg_targets::utils::VecWriter; -use utils::test_logger; +use crate::msg_targets::utils::VecWriter; +use crate::utils::test_logger; #[inline] pub fn msg_open_channel_test(data: &[u8], _out: Out) { - test_msg!(msgs::OpenChannel, data); + test_msg_simple!(lightning::ln::msgs::OpenChannel, data); } #[no_mangle] pub extern "C" fn msg_open_channel_run(data: *const u8, datalen: usize) { let data = unsafe { std::slice::from_raw_parts(data, datalen) }; - test_msg!(msgs::OpenChannel, data); + test_msg_simple!(lightning::ln::msgs::OpenChannel, data); }