[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / ChannelTypeFeatures.java
index 8071b043b2e47a40e36749b409f7e7d71c0d36b2..2ca9750507732e7b018397dfd1fff6d123ed05b9 100644 (file)
@@ -35,7 +35,7 @@ public class ChannelTypeFeatures extends CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public boolean eq(org.ldk.structs.ChannelTypeFeatures b) {
-               boolean ret = bindings.ChannelTypeFeatures_eq(this.ptr, b == null ? 0 : b.ptr);
+               boolean ret = bindings.ChannelTypeFeatures_eq(this.ptr, b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
                if (this != null) { this.ptrs_to.add(b); };
@@ -91,7 +91,7 @@ public class ChannelTypeFeatures extends CommonBase {
         * Returns true if this `Features` object contains required features unknown by `other`.
         */
        public boolean requires_unknown_bits_from(org.ldk.structs.ChannelTypeFeatures other) {
-               boolean ret = bindings.ChannelTypeFeatures_requires_unknown_bits_from(this.ptr, other == null ? 0 : other.ptr);
+               boolean ret = bindings.ChannelTypeFeatures_requires_unknown_bits_from(this.ptr, other.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(other);
                if (this != null) { this.ptrs_to.add(other); };