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