Universally Require Writeable for ChannelKeys
[rust-lightning] / lightning / src / ln / channel.rs
index c319c5524cef4768239eebcd05b510b492a8e57f..5477485d5a16ee74e9bcb22472b99e627e07ef56 100644 (file)
@@ -4055,7 +4055,7 @@ impl Readable for InboundHTLCRemovalReason {
        }
 }
 
-impl<ChanSigner: ChannelKeys + Writeable> Writeable for Channel<ChanSigner> {
+impl<ChanSigner: ChannelKeys> Writeable for Channel<ChanSigner> {
        fn write<W: Writer>(&self, writer: &mut W) -> Result<(), ::std::io::Error> {
                // Note that we write out as if remove_uncommitted_htlcs_and_mark_paused had just been
                // called but include holding cell updates (and obviously we don't modify self).