Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / HTLCFailChannelUpdate.java
index 92a5c0188bf302edd9dd66b14f677648994b02b7..a935293794e15901ddae3c0f75acce171f1ad38e 100644 (file)
@@ -33,6 +33,7 @@ public class HTLCFailChannelUpdate extends CommonBase {
                        super(null, ptr);
                        long msg = obj.msg;
                        ChannelUpdate msg_hu_conv = new ChannelUpdate(null, msg);
+                       msg_hu_conv.ptrs_to.add(this);
                        this.msg = msg_hu_conv;
                }
        }