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