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