projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #175 from TheBlueMatt/2018-09-173-whitespace-err
[rust-lightning]
/
fuzz
/
fuzz_targets
/
msg_targets
/
msg_update_add_htlc_target.rs
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_update_add_htlc_target.rs
b/fuzz/fuzz_targets/msg_targets/msg_update_add_htlc_target.rs
index 07a0f8196556a6a609018738f26b597577a77617..cfccc21a3f472c8b763b0934786c363bff5336e9 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_update_add_htlc_target.rs
+++ b/
fuzz/fuzz_targets/msg_targets/msg_update_add_htlc_target.rs
@@
-6,14
+6,12
@@
extern crate lightning;
use lightning::ln::msgs;
use lightning::util::reset_rng_state;
use lightning::ln::msgs;
use lightning::util::reset_rng_state;
-use lightning::ln::msgs::{MsgEncodable, MsgDecodable};
-
mod utils;
#[inline]
pub fn do_test(data: &[u8]) {
reset_rng_state();
mod utils;
#[inline]
pub fn do_test(data: &[u8]) {
reset_rng_state();
- test_msg
!(msgs::UpdateAddHTLC, data
);
+ test_msg
_hole!(msgs::UpdateAddHTLC, data, 85, 33
);
}
#[cfg(feature = "afl")]
}
#[cfg(feature = "afl")]