X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Fmsg_targets%2Futils.rs;h=82fa739fbcfbd4febfb33af89b6bbcb31717d559;hb=142b0d624e8ef71aea4aeb1d3591c6a5b59a771d;hp=6125e5afd611d3dde51a8713b7b3c4f4cd097edf;hpb=32ca8ec13e0928cbb4f7067a3fb6d41f39691d1c;p=rust-lightning diff --git a/fuzz/src/msg_targets/utils.rs b/fuzz/src/msg_targets/utils.rs index 6125e5af..82fa739f 100644 --- a/fuzz/src/msg_targets/utils.rs +++ b/fuzz/src/msg_targets/utils.rs @@ -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 or the MIT license +// , at your option. +// You may not use this file except in accordance with one or both of these +// licenses. + #![macro_use] use lightning::util::ser::Writer; @@ -78,8 +87,8 @@ macro_rules! test_msg_exact { } } -// Tests a message that must survive roundtrip exactly, modulo one "hole" which may be set to 0s on -// re-serialization. +// Tests a message that must survive roundtrip exactly, modulo one "hole" which may be set to +// any value on re-serialization. #[macro_export] macro_rules! test_msg_hole { ($MsgType: path, $data: ident, $hole: expr, $hole_len: expr) => {