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