From ae40d52f9e6d44e9dce2ead1c97a0d7b4f772e50 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 31 Aug 2023 02:28:24 -0400 Subject: [PATCH] fix: remove unneeded getPublicKey call --- src/ed25519.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ed25519.ts b/src/ed25519.ts index 2b9ffab..8da775d 100644 --- a/src/ed25519.ts +++ b/src/ed25519.ts @@ -10,8 +10,6 @@ export default class KeyPairEd25519 { } public get publicKey(): Uint8Array { - ed25519.getPublicKey(this._bytes); - return concatBytes( Uint8Array.from([mkeyEd25519]), ed25519.getPublicKey(this._bytes),