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_fail_malformed_htlc_target.rs
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_update_fail_malformed_htlc_target.rs
b/fuzz/fuzz_targets/msg_targets/msg_update_fail_malformed_htlc_target.rs
index e91bb3bdfd1a832d3a581df22a26622f2e57c06c..9c90992593ebe4a1fb3162dd9e3e0a78180d6c11 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_update_fail_malformed_htlc_target.rs
+++ b/
fuzz/fuzz_targets/msg_targets/msg_update_fail_malformed_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());
}
}
}
}