Add update_fail_malformed_htlcs vec to CommitmentUpdate
[rust-lightning] / src / ln / channel.rs
index d6e23a2839274fc5b84ecbc0e7e2d870469bbb0d..932bebb3166ace8b81487ab20789237fee05a296 100644 (file)
@@ -1643,6 +1643,7 @@ impl Channel {
                                                update_add_htlcs,
                                                update_fulfill_htlcs,
                                                update_fail_htlcs,
+                                               update_fail_malformed_htlcs: Vec::new(),
                                                commitment_signed,
                                        }, monitor_update)))
                                },
@@ -1740,6 +1741,7 @@ impl Channel {
                                                update_add_htlcs: Vec::new(),
                                                update_fulfill_htlcs: Vec::new(),
                                                update_fail_htlcs: failed_htlcs,
+                                               update_fail_malformed_htlcs: Vec::new(),
                                                commitment_signed
                                        }), to_forward_infos, revoked_htlcs, monitor_update))
                                } else {