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