From 087b5279e117ee90fde75e4fcb47b56a8564e593 Mon Sep 17 00:00:00 2001 From: Devrandom Date: Tue, 24 Sep 2024 17:09:23 +0200 Subject: [PATCH] f fuzz --- fuzz/src/chanmon_consistency.rs | 1 - fuzz/src/full_stack.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fuzz/src/chanmon_consistency.rs b/fuzz/src/chanmon_consistency.rs index f8f30cc5810..c0a1147171e 100644 --- a/fuzz/src/chanmon_consistency.rs +++ b/fuzz/src/chanmon_consistency.rs @@ -85,7 +85,6 @@ use std::mem; use std::sync::atomic; use std::sync::{Arc, Mutex}; use std::cmp::{self, Ordering}; -use bitcoin::bech32::u5; use lightning::util::dyn_signer::DynSigner; const MAX_FEE: u32 = 10_000; diff --git a/fuzz/src/full_stack.rs b/fuzz/src/full_stack.rs index 34ef1c22e44..66d807a6cb4 100644 --- a/fuzz/src/full_stack.rs +++ b/fuzz/src/full_stack.rs @@ -456,7 +456,7 @@ impl SignerProvider for KeyProvider { let ctr = channel_keys_id[0]; let (inbound, state) = self.signer_state.borrow().get(&ctr).unwrap().clone(); TestChannelSigner::new_with_revoked( - if inbound { + DynSigner::new(if inbound { InMemorySigner::new( &secp_ctx, SecretKey::from_slice(&[ @@ -528,7 +528,7 @@ impl SignerProvider for KeyProvider { channel_keys_id, channel_keys_id, ) - }, + }), state, false, )