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