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