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