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