[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Result_C2Tuple_CVec_u8Zu64ZNoneZ.cs
index 10f80183a44d16b1d2328da58c38d0749d30147c..7417b51ab0ddf44cc00278296dc371d4fb17c6d8 100644 (file)
@@ -37,7 +37,7 @@ public class Result_C2Tuple_CVec_u8Zu64ZNoneZ : CommonBase {
         * Creates a new CResult_C2Tuple_CVec_u8Zu64ZNoneZ in the success state.
         */
        public static Result_C2Tuple_CVec_u8Zu64ZNoneZ ok(org.ldk.structs.TwoTuple_CVec_u8Zu64Z o) {
-               long ret = bindings.CResult_C2Tuple_CVec_u8Zu64ZNoneZ_ok(o != null ? o.ptr : 0);
+               long ret = bindings.CResult_C2Tuple_CVec_u8Zu64ZNoneZ_ok(o.ptr);
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_C2Tuple_CVec_u8Zu64ZNoneZ ret_hu_conv = Result_C2Tuple_CVec_u8Zu64ZNoneZ.constr_from_ptr(ret);