X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Fmsg_targets%2Fmsg_update_fee.rs;h=b891a363198c54e9b2e4c48db1f8b489317532a4;hb=2eb93f466410ec2e6fd583b9c8c6f372a3b147e4;hp=b106288f6a0d2d5df305abb54b1f059c3e2ddf0c;hpb=6745aff9b682fddb544968ae11b2d92665b58da2;p=rust-lightning diff --git a/fuzz/src/msg_targets/msg_update_fee.rs b/fuzz/src/msg_targets/msg_update_fee.rs index b106288f..b891a363 100644 --- a/fuzz/src/msg_targets/msg_update_fee.rs +++ b/fuzz/src/msg_targets/msg_update_fee.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; #[inline] pub fn msg_update_fee_test(data: &[u8], _out: Out) { - test_msg!(msgs::UpdateFee, data); + test_msg_simple!(lightning::ln::msgs::UpdateFee, data); } #[no_mangle] pub extern "C" fn msg_update_fee_run(data: *const u8, datalen: usize) { let data = unsafe { std::slice::from_raw_parts(data, datalen) }; - test_msg!(msgs::UpdateFee, data); + test_msg_simple!(lightning::ln::msgs::UpdateFee, data); }