diff --git a/src/helpers/createAttestationInput.ts b/src/helpers/createAttestationInput.ts index 10c1b37..01bfaa3 100644 --- a/src/helpers/createAttestationInput.ts +++ b/src/helpers/createAttestationInput.ts @@ -20,12 +20,7 @@ export default async function createAttestationInput( params: CreateProofParams, { message, publicKey, signature }: Signature ) { - const eddsaPublicKey = publicKey ?? { - x: - '3022588728262621016474471722865235652573366639695808085248430151628770415819', - y: - '14057266046546817928140094441885285376703482229051018203400595159797179656041', - } + const eddsaPublicKey = publicKey ?? getEddsaPublicKey() const merkleTreeInputs = params.merkleTreeInputs ?? (await generateMerkleTreeInputs(params, message[1]))