Finish compacting giant type-conversion-strings if tree, updating to new upstream...
[ldk-java] / src / main / java / org / ldk / structs / MessageSendEvent.java
index 5eb255afea785cb12c88d6465bc5bc19c75e87f4..8a58fe14738eaf89706009fa9cee434851bc92a3 100644 (file)
@@ -226,6 +226,7 @@ public class MessageSendEvent extends CommonBase {
                        this.node_id = obj.node_id;
                        long action = obj.action;
                        ErrorAction action_hu_conv = ErrorAction.constr_from_ptr(action);
+                       action_hu_conv.ptrs_to.add(this);
                        this.action = action_hu_conv;
                }
        }
@@ -235,6 +236,7 @@ public class MessageSendEvent extends CommonBase {
                        super(null, ptr);
                        long update = obj.update;
                        HTLCFailChannelUpdate update_hu_conv = HTLCFailChannelUpdate.constr_from_ptr(update);
+                       update_hu_conv.ptrs_to.add(this);
                        this.update = update_hu_conv;
                }
        }