[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / ParseOrSemanticError.cs
index d1f27fd37e0a1c85f77e3554d71ddd339f7549a9..0eed4d3764e71062880ef36ada39b1b2fee177f0 100644 (file)
@@ -91,7 +91,7 @@ public class ParseOrSemanticError : CommonBase {
         * This ignores pointers and is_owned flags and looks at the values in fields.
         */
        public bool eq(org.ldk.structs.ParseOrSemanticError b) {
-               bool ret = bindings.ParseOrSemanticError_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.ParseOrSemanticError_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                return ret;