fix: correct argument order on ed25519.verify
This commit is contained in:
parent
0ede0480d4
commit
daf357cd63
|
@ -244,7 +244,7 @@ export class RegistryService {
|
||||||
...sre.data,
|
...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 {
|
public serializeRegistryEntry(sre: SignedRegistryEntry): Uint8Array {
|
||||||
return Uint8Array.from([
|
return Uint8Array.from([
|
||||||
|
|
Loading…
Reference in New Issue