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