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