[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / RecipientOnionFields.cs
index 219c29111561bc89b84cf4348ae7a47f62756b23..cec4805fb5b7dff29f18e0cdd29373e55cdae092 100644 (file)
@@ -130,7 +130,7 @@ public class RecipientOnionFields : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.RecipientOnionFields b) {
-               bool ret = bindings.RecipientOnionFields_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.RecipientOnionFields_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };
@@ -207,7 +207,7 @@ public class RecipientOnionFields : CommonBase {
         * See [`Self::custom_tlvs`] for more info.
         */
        public Result_RecipientOnionFieldsNoneZ with_custom_tlvs(TwoTuple_u64CVec_u8ZZ[] custom_tlvs) {
-               long ret = bindings.RecipientOnionFields_with_custom_tlvs(this.ptr, InternalUtils.encodeUint64Array(InternalUtils.mapArray(custom_tlvs, custom_tlvs_conv_23 => custom_tlvs_conv_23 != null ? custom_tlvs_conv_23.ptr : 0)));
+               long ret = bindings.RecipientOnionFields_with_custom_tlvs(this.ptr, InternalUtils.encodeUint64Array(InternalUtils.mapArray(custom_tlvs, custom_tlvs_conv_23 => custom_tlvs_conv_23.ptr)));
                GC.KeepAlive(this);
                GC.KeepAlive(custom_tlvs);
                if (ret >= 0 && ret <= 4096) { return null; }