fix: remove unneeded getPublicKey call
This commit is contained in:
parent
22e486ea18
commit
ae40d52f9e
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue