[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Balance.java
index e6957ac2602e9d5900b0aceb0eb65852662c5852..a4431039056e65f3152a30c49adb56f06b2e3f3c 100644 (file)
@@ -198,7 +198,7 @@ public class Balance extends CommonBase {
         * This ignores pointers and is_owned flags and looks at the values in fields.
         */
        public boolean eq(Balance b) {
-               boolean ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               boolean ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
                return ret;