projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug in early-HTLC-fulfill handling
[rust-lightning]
/
fuzz
/
fuzz_targets
/
msg_targets
/
msg_update_fulfill_htlc_target.rs
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_update_fulfill_htlc_target.rs
b/fuzz/fuzz_targets/msg_targets/msg_update_fulfill_htlc_target.rs
index cd449908a1736faad13884d41c8cd516fd74ecd4..86e99f8c4a0542fbcb8fad9d4deb1c8fdf3c2d6e 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_update_fulfill_htlc_target.rs
+++ b/
fuzz/fuzz_targets/msg_targets/msg_update_fulfill_htlc_target.rs
@@
-36,13
+36,11
@@
fn main() {
}
}
}
}
+extern crate hex;
#[cfg(test)]
mod tests {
#[cfg(test)]
mod tests {
- use utils::extend_vec_from_hex;
#[test]
fn duplicate_crash() {
#[test]
fn duplicate_crash() {
- let mut a = Vec::new();
- extend_vec_from_hex("00", &mut a);
- super::do_test(&a);
+ super::do_test(&::hex::decode("00").unwrap());
}
}
}
}