Skip to content

Commit

Permalink
refactor createAttestationInput
Browse files Browse the repository at this point in the history
  • Loading branch information
MixailE committed Nov 3, 2023
1 parent 9d22100 commit 28b3865
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/helpers/createAttestationInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 28b3865

Please sign in to comment.