Merge pull request #1904 from TheBlueMatt/2022-12-1825-followups
[rust-lightning] / lightning / src / util / events.rs
index 2c7e5413dafff9d9f027eab116d0967faae6ed2e..375174f6f6afa86c556c6804586adfa52020844a 100644 (file)
@@ -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)?;