Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / Event.java
index 9e3ee3f2aeacd95e073b9953c3302333d105d1a6..83ffeb55913addf4f0024969ee1bab816ea9d59a 100644 (file)
@@ -59,6 +59,7 @@ public class Event extends CommonBase {
                        super(null, ptr);
                        long funding_txo = obj.funding_txo;
                        OutPoint funding_txo_hu_conv = new OutPoint(null, funding_txo);
+                       funding_txo_hu_conv.ptrs_to.add(this);
                        this.funding_txo = funding_txo_hu_conv;
                        this.user_channel_id = obj.user_channel_id;
                }
@@ -106,6 +107,7 @@ public class Event extends CommonBase {
                        for (int b = 0; b < outputs.length; b++) {
                                long arr_conv_27 = outputs[b];
                                SpendableOutputDescriptor arr_conv_27_hu_conv = SpendableOutputDescriptor.constr_from_ptr(arr_conv_27);
+                               arr_conv_27_hu_conv.ptrs_to.add(this);
                                arr_conv_27_arr[b] = arr_conv_27_hu_conv;
                        }
                        this.outputs = arr_conv_27_arr;