[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Bolt12InvoiceFeatures.cs
index 98b72e127b5b53f53b83ffd9f8ee16a26e5abd14..ac0f264b8b414691fe4540ee18a13040d81e608f 100644 (file)
@@ -21,7 +21,7 @@ public class Bolt12InvoiceFeatures : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.Bolt12InvoiceFeatures b) {
-               bool ret = bindings.Bolt12InvoiceFeatures_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.Bolt12InvoiceFeatures_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };
@@ -77,7 +77,7 @@ public class Bolt12InvoiceFeatures : CommonBase {
         * Returns true if this `Features` object contains required features unknown by `other`.
         */
        public bool requires_unknown_bits_from(org.ldk.structs.Bolt12InvoiceFeatures other) {
-               bool ret = bindings.Bolt12InvoiceFeatures_requires_unknown_bits_from(this.ptr, other == null ? 0 : other.ptr);
+               bool ret = bindings.Bolt12InvoiceFeatures_requires_unknown_bits_from(this.ptr, other.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(other);
                if (this != null) { this.ptrs_to.AddLast(other); };