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