[TS] Update auto-generated bindings
[ldk-java] / ts / structs / TwoTuple_PublicKeyTypeZ.mts
index 7d0f6e5509dd929817499db9ab238a3af9b8f37b..749fc6a4c33ec2fa9fef66d00426e264155bff7d 100644 (file)
@@ -484,7 +484,7 @@ export class TwoTuple_PublicKeyTypeZ extends CommonBase {
         * Creates a new C2Tuple_PublicKeyTypeZ from the contained elements.
         */
        public static constructor_new(a: Uint8Array, b: Type): TwoTuple_PublicKeyTypeZ {
-               const ret: bigint = bindings.C2Tuple_PublicKeyTypeZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 33)), b == null ? 0n : CommonBase.get_ptr_of(b));
+               const ret: bigint = bindings.C2Tuple_PublicKeyTypeZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 33)), CommonBase.get_ptr_of(b));
                const ret_hu_conv: TwoTuple_PublicKeyTypeZ = new TwoTuple_PublicKeyTypeZ(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, b);