[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Result_HTLCDescriptorDecodeErrorZ.cs
index c946833dd3ff41938a0f273358d1df59f94edeac..34f1b8558ea3095153195dc85a927da7cbe1d500 100644 (file)
@@ -42,7 +42,7 @@ public class Result_HTLCDescriptorDecodeErrorZ : CommonBase {
         * Creates a new CResult_HTLCDescriptorDecodeErrorZ in the success state.
         */
        public static Result_HTLCDescriptorDecodeErrorZ ok(org.ldk.structs.HTLCDescriptor o) {
-               long ret = bindings.CResult_HTLCDescriptorDecodeErrorZ_ok(o == null ? 0 : o.ptr);
+               long ret = bindings.CResult_HTLCDescriptorDecodeErrorZ_ok(o.ptr);
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_HTLCDescriptorDecodeErrorZ ret_hu_conv = Result_HTLCDescriptorDecodeErrorZ.constr_from_ptr(ret);