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