From: Matt Corallo Date: Fri, 17 Aug 2018 21:36:22 +0000 (-0400) Subject: Disable push_msat in full_stack_target temporarily X-Git-Tag: v0.0.12~345^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=87aabff8abb5928373e42c966326b6b4d0993372;p=rust-lightning Disable push_msat in full_stack_target temporarily --- 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 => {