Utilize Writer size hinting in message fuzz targets and check them
[rust-lightning] / fuzz / fuzz_targets / msg_targets / msg_error_message_target.rs
index f565e80f9195973c9b46e188a28b1a83bcf719fd..5ccbd26468017a644c3388e6712ff60c7eef5e7f 100644 (file)
@@ -7,6 +7,7 @@ use lightning::ln::msgs;
 use lightning::util::reset_rng_state;
 
 mod utils;
+use utils::VecWriter;
 
 #[inline]
 pub fn do_test(data: &[u8]) {