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