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