Merge pull request #593 from TheBlueMatt/2020-04-par-fuzz-check
[rust-lightning] / fuzz / src / chanmon_deser.rs
index cd8f7cde800a05b571257d253f197fb385ebe20e..abff1319a9bccd4fabdfe68ec28fdc8279c1312c 100644 (file)
@@ -32,8 +32,6 @@ pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
                let deserialized_copy = <(Sha256dHash, channelmonitor::ChannelMonitor<EnforcingChannelKeys>)>::read(&mut Cursor::new(&w.0), logger.clone()).unwrap();
                assert!(latest_block_hash == deserialized_copy.0);
                assert!(monitor == deserialized_copy.1);
-               w.0.clear();
-               monitor.write_for_watchtower(&mut w).unwrap();
        }
 }