}
#[cfg(taproot)]
+#[allow(unused)]
impl TaprootChannelSigner for InMemorySigner {
fn generate_local_nonce_pair(
&self, commitment_number: u64, secp_ctx: &Secp256k1<All>,
// in practice, this will only ever be an EcdsaChannelSigner (specifically, Writeable)
Ecdsa(<SP::Target as SignerProvider>::EcdsaSigner),
#[cfg(taproot)]
+ #[allow(unused)]
Taproot(<SP::Target as SignerProvider>::TaprootSigner),
}
match self {
ChannelSignerType::Ecdsa(ecs) => ecs,
#[cfg(taproot)]
+ #[allow(unused)]
ChannelSignerType::Taproot(tcs) => tcs,
}
}
match self {
ChannelSignerType::Ecdsa(ecs) => ecs,
#[cfg(taproot)]
+ #[allow(unused)]
ChannelSignerType::Taproot(tcs) => tcs,
}
}