50kb -> 100kb

This commit is contained in:
natsoni
2024-10-08 12:59:36 +09:00
parent 57a05c80a2
commit 3486c35f5e

View File

@@ -397,8 +397,8 @@ export function extractInscriptionData(raw: Uint8Array, pointer: number): Inscri
return {
content_type_str: contentType,
body: combinedData.slice(0, 50_000), // Limit body to 50 kB for now
is_cropped: combinedData.length > 50_000,
body: combinedData.slice(0, 100_000), // Limit body to 100 kB for now
is_cropped: combinedData.length > 100_000,
body_length: combinedData.length,
delegate_txid: getKnownFieldValue(fields, knownFields.delegate) ? bytesToHex(getKnownFieldValue(fields, knownFields.delegate).reverse()) : null
};