[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / HTLCOutputInCommitment.cs
index 61daf9b7f43110cda75d8210e5dfc69ff150a63b..6a97cf9f200ada6d5033d1c46fe566d23e322d93 100644 (file)
@@ -118,6 +118,7 @@ public class HTLCOutputInCommitment : CommonBase {
                bindings.HTLCOutputInCommitment_set_transaction_output_index(this.ptr, val.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(val);
+               if (this != null) { this.ptrs_to.AddLast(val); };
        }
 
        /**
@@ -133,6 +134,7 @@ public class HTLCOutputInCommitment : CommonBase {
                if (ret >= 0 && ret <= 4096) { return null; }
                org.ldk.structs.HTLCOutputInCommitment ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.HTLCOutputInCommitment(null, ret); }
                if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(ret_hu_conv); };
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(transaction_output_index_arg); };
                return ret_hu_conv;
        }