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