50kb -> 100kb
This commit is contained in:
parent
57a05c80a2
commit
3486c35f5e
@ -397,8 +397,8 @@ export function extractInscriptionData(raw: Uint8Array, pointer: number): Inscri
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
content_type_str: contentType,
|
content_type_str: contentType,
|
||||||
body: combinedData.slice(0, 50_000), // Limit body to 50 kB for now
|
body: combinedData.slice(0, 100_000), // Limit body to 100 kB for now
|
||||||
is_cropped: combinedData.length > 50_000,
|
is_cropped: combinedData.length > 100_000,
|
||||||
body_length: combinedData.length,
|
body_length: combinedData.length,
|
||||||
delegate_txid: getKnownFieldValue(fields, knownFields.delegate) ? bytesToHex(getKnownFieldValue(fields, knownFields.delegate).reverse()) : null
|
delegate_txid: getKnownFieldValue(fields, knownFields.delegate) ? bytesToHex(getKnownFieldValue(fields, knownFields.delegate).reverse()) : null
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user