fix: remove unneeded getPublicKey call

This commit is contained in:
Derrick Hammer 2023-08-31 02:28:24 -04:00
parent 22e486ea18
commit ae40d52f9e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 2 deletions

View File

@ -10,8 +10,6 @@ export default class KeyPairEd25519 {
} }
public get publicKey(): Uint8Array { public get publicKey(): Uint8Array {
ed25519.getPublicKey(this._bytes);
return concatBytes( return concatBytes(
Uint8Array.from([mkeyEd25519]), Uint8Array.from([mkeyEd25519]),
ed25519.getPublicKey(this._bytes), ed25519.getPublicKey(this._bytes),