[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / TwoTuple_PublicKeyTypeZ.cs
index fca997db4300d34d0f200ac4e7e3a6c8f21711f3..4c3352fd4a5f7a9ef83de2c32aa75efe69b5792f 100644 (file)
@@ -59,7 +59,7 @@ public class TwoTuple_PublicKeyTypeZ : CommonBase {
         * Creates a new C2Tuple_PublicKeyTypeZ from the contained elements.
         */
        public static TwoTuple_PublicKeyTypeZ of(byte[] a, org.ldk.structs.Type b) {
-               long ret = bindings.C2Tuple_PublicKeyTypeZ_new(InternalUtils.check_arr_len(a, 33), b == null ? 0 : b.ptr);
+               long ret = bindings.C2Tuple_PublicKeyTypeZ_new(InternalUtils.check_arr_len(a, 33), b.ptr);
                GC.KeepAlive(a);
                GC.KeepAlive(b);
                if (ret >= 0 && ret <= 4096) { return null; }