Make `Channel` and `ChannelManager` less particular about their `Signer` type.
[rust-lightning] / lightning / src / ln / channel.rs
index 185fd59bafaf1a3ec4c4be9fca8e50630e1b34b3..d9ec57d5a7e773c410640c8be4e47b1d96a9a482 100644 (file)
@@ -498,7 +498,7 @@ pub(crate) const EXPIRE_PREV_CONFIG_TICKS: usize = 5;
 //
 // Holder designates channel data owned for the benefice of the user client.
 // Counterparty designates channel data owned by the another channel participant entity.
-pub(super) struct Channel<Signer: WriteableEcdsaChannelSigner> {
+pub(super) struct Channel<Signer: ChannelSigner> {
        config: LegacyChannelConfig,
 
        // Track the previous `ChannelConfig` so that we can continue forwarding HTLCs that were