[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / RawDataPart.cs
index 681dde88a7e9063814676d1356c872dfc4fe6b22..c63b214ad230c47da9efa99d8a4453eae5d27b60 100644 (file)
@@ -31,7 +31,7 @@ public class RawDataPart : CommonBase {
         * generation time of the invoice
         */
        public void set_timestamp(org.ldk.structs.PositiveTimestamp val) {
-               bindings.RawDataPart_set_timestamp(this.ptr, val == null ? 0 : val.ptr);
+               bindings.RawDataPart_set_timestamp(this.ptr, val.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(val);
                if (this != null) { this.ptrs_to.AddLast(val); };
@@ -43,7 +43,7 @@ public class RawDataPart : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.RawDataPart b) {
-               bool ret = bindings.RawDataPart_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.RawDataPart_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };