X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fevents.rs;h=b3e9c236138eac5b3ecb7851c16e0ea7c10503ad;hb=153b04833201d1de59104ed2671fafeb2b8ad509;hp=2c7e5413dafff9d9f027eab116d0967faae6ed2e;hpb=4a0010d7393bb32305bdb3d859735b7b563462eb;p=rust-lightning diff --git a/lightning/src/util/events.rs b/lightning/src/util/events.rs index 2c7e5413..b3e9c236 100644 --- a/lightning/src/util/events.rs +++ b/lightning/src/util/events.rs @@ -257,10 +257,10 @@ pub struct HTLCDescriptor { /// [`InMemorySigner`]: crate::chain::keysinterface::InMemorySigner pub channel_value_satoshis: u64, /// The necessary channel parameters that need to be provided to the re-derived - /// [`InMemorySigner`] through [`BaseSign::ready_channel`]. + /// [`InMemorySigner`] through [`BaseSign::provide_channel_parameters`]. /// /// [`InMemorySigner`]: crate::chain::keysinterface::InMemorySigner - /// [`BaseSign::ready_channel`]: crate::chain::keysinterface::BaseSign::ready_channel + /// [`BaseSign::provide_channel_parameters`]: crate::chain::keysinterface::BaseSign::provide_channel_parameters pub channel_parameters: ChannelTransactionParameters, /// The txid of the commitment transaction in which the HTLC output lives. pub commitment_txid: Txid, @@ -1125,6 +1125,7 @@ impl Writeable for Event { BumpTransactionEvent::ChannelClose { .. } => {} BumpTransactionEvent::HTLCResolution { .. } => {} } + write_tlv_fields!(writer, {}); // Write a length field for forwards compat } &Event::ChannelReady { ref channel_id, ref user_channel_id, ref counterparty_node_id, ref channel_type } => { 29u8.write(writer)?;