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