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