*need to make entry length into a buffer

This commit is contained in:
Derrick Hammer 2022-12-31 14:55:55 -05:00
parent 58330a2576
commit 4264ca099e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export function signEntry(
export function createSignatureData(entry: SignedRegistryEntry): Uint8Array {
return b4a.concat([
encodeEndian(entry.revision, 8),
entry.data.length,
b4a.from([entry.data.length]),
entry.data,
]);
}