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