diff --git a/fuzz/src/chanmon_consistency.rs b/fuzz/src/chanmon_consistency.rs index e923ef882f2..f3546f21cf2 100644 --- a/fuzz/src/chanmon_consistency.rs +++ b/fuzz/src/chanmon_consistency.rs @@ -166,6 +166,10 @@ impl chain::Watch for TestChainMonitor { fn release_pending_monitor_events(&self) -> Vec<(OutPoint, Vec, Option)> { return self.chain_monitor.release_pending_monitor_events(); } + + fn update_channel_funding_txo(&self, old_funding_txo: OutPoint, new_funding_txo: OutPoint, channel_value_satoshis: u64) -> ChannelMonitorUpdateStatus { + todo!() + } } struct KeyProvider { @@ -306,6 +310,7 @@ fn check_api_err(api_err: APIError, sendable_bounds_violated: bool) { // We can (obviously) temp-fail a monitor update }, APIError::IncompatibleShutdownScript { .. } => panic!("Cannot send an incompatible shutdown script"), + APIError::ExternalError { .. } => panic!("We don't produce external errors in fuzz!"), } } #[inline] diff --git a/fuzz/src/router.rs b/fuzz/src/router.rs index 31732257c3f..454ed854641 100644 --- a/fuzz/src/router.rs +++ b/fuzz/src/router.rs @@ -271,6 +271,11 @@ pub fn do_test(data: &[u8], out: Out) { config: None, feerate_sat_per_1000_weight: None, channel_shutdown_state: Some(channelmanager::ChannelShutdownState::NotShuttingDown), + funding_redeemscript: None, + holder_funding_pubkey: get_pubkey!(), + counter_funding_pubkey: None, + original_funding_outpoint: None, + channel_keys_id: [0u8; 32], }); } Some(&first_hops_vec[..])