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_accept_channel_target.rs
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_accept_channel_target.rs
b/fuzz/fuzz_targets/msg_targets/msg_accept_channel_target.rs
index a0e9cc4efb511240f632b2e1c260ebc288d4c792..9e4b7642fc5e61bfcea9b1fee9c462c97ab5fb2a 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_accept_channel_target.rs
+++ b/
fuzz/fuzz_targets/msg_targets/msg_accept_channel_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());
}
}
}
}