1 // This file is auto-generated by gen_target.sh based on msg_target_template.txt
2 // To modify it, modify msg_target_template.txt and run gen_target.sh instead.
4 use lightning::ln::msgs;
6 use msg_targets::utils::VecWriter;
9 pub fn do_test(data: &[u8]) {
10 test_msg!(msgs::FundingLocked, data);
14 pub extern "C" fn msg_funding_locked_run(data: *const u8, datalen: usize) {
15 do_test(unsafe { std::slice::from_raw_parts(data, datalen) });