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