[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / SignedRawBolt11Invoice.cs
index ad14e6b2d461a8cd7f3a405bcb2b87fb8277a216..d08116278102172fa33bf73262f9bd749c5796de 100644 (file)
@@ -25,7 +25,7 @@ public class SignedRawBolt11Invoice : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.SignedRawBolt11Invoice b) {
-               bool ret = bindings.SignedRawBolt11Invoice_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.SignedRawBolt11Invoice_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };