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 #353 from TheBlueMatt/2019-07-no-rand
[rust-lightning]
/
fuzz
/
fuzz_targets
/
msg_targets
/
msg_open_channel_target.rs
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_open_channel_target.rs
b/fuzz/fuzz_targets/msg_targets/msg_open_channel_target.rs
index 737bc2f0c63b40905e8937c199f422dc40ee3188..aa13e96dd4f91c487d36d22af632186c33f9f40b 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_open_channel_target.rs
+++ b/
fuzz/fuzz_targets/msg_targets/msg_open_channel_target.rs
@@
-4,15
+4,12
@@
extern crate lightning;
use lightning::ln::msgs;
extern crate lightning;
use lightning::ln::msgs;
-use lightning::util::reset_rng_state;
-
-use lightning::ln::msgs::{MsgEncodable, MsgDecodable};
mod utils;
mod utils;
+use utils::VecWriter;
#[inline]
pub fn do_test(data: &[u8]) {
#[inline]
pub fn do_test(data: &[u8]) {
- reset_rng_state();
test_msg!(msgs::OpenChannel, data);
}
test_msg!(msgs::OpenChannel, data);
}