Merge pull request #139 from TheBlueMatt/main
[ldk-java] / c_sharp / src / org / ldk / structs / Option_MonitorEventZ.cs
index 10ca05825ebbe7b41be88f2d13e1715e038cdcea..1032ce1890ac6d88e75ce5cf05c479ac949d1077 100644 (file)
@@ -48,6 +48,7 @@ public class Option_MonitorEventZ : CommonBase {
                if (ret >= 0 && ret <= 4096) { return null; }
                org.ldk.structs.Option_MonitorEventZ ret_hu_conv = org.ldk.structs.Option_MonitorEventZ.constr_from_ptr(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(o); };
                return ret_hu_conv;
        }