Merge pull request #139 from TheBlueMatt/main
[ldk-java] / c_sharp / src / org / ldk / structs / Result_UnsignedChannelAnnouncementDecodeErrorZ.cs
index b9de0d6b9587a9e5a1b144fa3e2109004b226fdd..56833d2e1eb9c11f01ca11ec390d5d2bb6b4bc2f 100644 (file)
@@ -58,6 +58,7 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }