[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / ChannelInfo.cs
index fc0554c270e259ae8b5120e4d35ee6471fa5d2c2..9e841cc2ce0f8c3fc190bb4552a67e080003fb18 100644 (file)
@@ -153,6 +153,7 @@ public class ChannelInfo : CommonBase {
                bindings.ChannelInfo_set_capacity_sats(this.ptr, val.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(val);
+               if (this != null) { this.ptrs_to.AddLast(val); };
        }
 
        /**