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