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