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