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