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