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