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