]> git.bitcoin.ninja Git - ldk-java/blobdiff - c_sharp/src/org/ldk/structs/Result_ChannelDetailsDecodeErrorZ.cs
Update CI references to LDK 0.0.124 drop stale memchr pins
[ldk-java] / c_sharp / src / org / ldk / structs / Result_ChannelDetailsDecodeErrorZ.cs
index 0ef3383293250d9f993eb016d9e7378584ec00f0..42001339b383bb7abba29644501370989180699b 100644 (file)
@@ -42,11 +42,10 @@ public class Result_ChannelDetailsDecodeErrorZ : CommonBase {
         * Creates a new CResult_ChannelDetailsDecodeErrorZ in the success state.
         */
        public static Result_ChannelDetailsDecodeErrorZ ok(org.ldk.structs.ChannelDetails o) {
-               long ret = bindings.CResult_ChannelDetailsDecodeErrorZ_ok(o == null ? 0 : o.ptr);
+               long ret = bindings.CResult_ChannelDetailsDecodeErrorZ_ok(o.ptr);
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_ChannelDetailsDecodeErrorZ ret_hu_conv = Result_ChannelDetailsDecodeErrorZ.constr_from_ptr(ret);
-               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(o); };
                return ret_hu_conv;
        }
 
@@ -58,7 +57,6 @@ public class Result_ChannelDetailsDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_ChannelDetailsDecodeErrorZ ret_hu_conv = Result_ChannelDetailsDecodeErrorZ.constr_from_ptr(ret);
-               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }