feat: improve tree and registration

This commit is contained in:
turnoffthiscomputer
2025-03-11 20:48:21 +01:00
parent e741091c98
commit 21b38626ca
3 changed files with 5 additions and 1 deletions

View File

@@ -201,6 +201,9 @@ export async function isUserRegistered(
passportData: PassportData,
secret: string,
) {
if (!passportData) {
return false;
}
const commitment = generateCommitment(
secret,
PASSPORT_ATTESTATION_ID,