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