[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / Sha256.java
index 8f380798c9fbd05c98ae34a8f91c6119ed1b97aa..074f7bb956ff85469a5dffe75089b8d6e7dd48e5 100644 (file)
@@ -56,7 +56,7 @@ public class Sha256 extends CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public boolean eq(org.ldk.structs.Sha256 b) {
-               boolean ret = bindings.Sha256_eq(this.ptr, b == null ? 0 : b.ptr);
+               boolean ret = bindings.Sha256_eq(this.ptr, b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
                if (this != null) { this.ptrs_to.add(b); };