Universally Require Writeable for ChannelKeys
[rust-lightning] / lightning / src / ln / onchaintx.rs
index 146a4d57c8b27d68bef808a45e3ec6789c464a9b..513e4a136dc742dc9d5f2ad8268271658d7ff511 100644 (file)
@@ -286,7 +286,7 @@ pub struct OnchainTxHandler<ChanSigner: ChannelKeys> {
        secp_ctx: Secp256k1<secp256k1::All>,
 }
 
-impl<ChanSigner: ChannelKeys + Writeable> OnchainTxHandler<ChanSigner> {
+impl<ChanSigner: ChannelKeys> OnchainTxHandler<ChanSigner> {
        pub(crate) fn write<W: Writer>(&self, writer: &mut W) -> Result<(), ::std::io::Error> {
                self.destination_script.write(writer)?;
                self.holder_commitment.write(writer)?;