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