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_shutdown_target.rs
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_shutdown_target.rs
b/fuzz/fuzz_targets/msg_targets/msg_shutdown_target.rs
index 57e245676d935763742607fee194a338c5d616b4..5df8a38254db41b78fb1fc934adab07ad55100ac 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_shutdown_target.rs
+++ b/
fuzz/fuzz_targets/msg_targets/msg_shutdown_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());
}
}
}
}