From 87aabff8abb5928373e42c966326b6b4d0993372 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 17 Aug 2018 17:36:22 -0400 Subject: [PATCH] Disable push_msat in full_stack_target temporarily --- fuzz/fuzz_targets/full_stack_target.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fuzz/fuzz_targets/full_stack_target.rs b/fuzz/fuzz_targets/full_stack_target.rs index 8e3bea9c0..5104b7077 100644 --- a/fuzz/fuzz_targets/full_stack_target.rs +++ b/fuzz/fuzz_targets/full_stack_target.rs @@ -315,7 +315,9 @@ pub fn do_test(data: &[u8]) { if !peers.borrow()[peer_id as usize] { return; } let their_key = get_pubkey!(); let chan_value = slice_to_be24(get_slice!(3)) as u64; - let push_msat_value = slice_to_be24(get_slice!(3)) as u64; + //let push_msat_value = slice_to_be24(get_slice!(3)) as u64; + // Temporarily don't read extra bytes to avoid breaking existing test-cases + let push_msat_value = 0; if channelmanager.create_channel(their_key, chan_value, push_msat_value, 0).is_err() { return; } }, 6 => { -- 2.39.5