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