fix: correct argument order on ed25519.verify

This commit is contained in:
Derrick Hammer 2023-09-01 20:41:32 -04:00
parent 0ede0480d4
commit daf357cd63
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ export class RegistryService {
...sre.data,
]);
return ed25519.verify(list, sre.signature, sre.pk.slice(1));
return ed25519.verify(sre.signature, list, sre.pk.slice(1));
}
public serializeRegistryEntry(sre: SignedRegistryEntry): Uint8Array {
return Uint8Array.from([