From 4044d2beb6896d0f46276bcfb40b26efa4e613ef Mon Sep 17 00:00:00 2001 From: Bilog WEB3 <155262265+Bilogweb3@users.noreply.github.com> Date: Sat, 21 Dec 2024 23:24:10 +0100 Subject: [PATCH] Update factories.ts --- packages/core/src/factories.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/factories.ts b/packages/core/src/factories.ts index 239b0d5503..92e5070730 100644 --- a/packages/core/src/factories.ts +++ b/packages/core/src/factories.ts @@ -107,7 +107,7 @@ const Ed25519PrivateKeyFactory = Factory.define(() => { return ed25519.utils.randomPrivateKey(); }); -const Ed25519PPublicKeyFactory = Factory.define(() => { +const Ed25519PublicKeyFactory = Factory.define(() => { const privateKey = Ed25519PrivateKeyFactory.build(); return ed25519.getPublicKey(privateKey); }); @@ -748,7 +748,7 @@ const UserNameProofFactory = Factory.define(() => { const SignerEventBodyFactory = Factory.define(() => { return SignerEventBody.create({ - key: Ed25519PPublicKeyFactory.build(), + key: Ed25519PublicKeyFactory.build(), eventType: SignerEventType.ADD, keyType: 1, metadataType: 1, @@ -830,7 +830,7 @@ export const Factories = { EnsName: EnsNameFactory, TransactionHash: TransactionHashFactory, Ed25519PrivateKey: Ed25519PrivateKeyFactory, - Ed25519PPublicKey: Ed25519PPublicKeyFactory, + Ed25519PPublicKey: Ed25519PublicKeyFactory, Ed25519Signer: Ed25519SignerFactory, Ed25519Signature: Ed25519SignatureFactory, Eip712Signer: Eip712SignerFactory,