mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
@@ -20,7 +20,7 @@ export function getRevealedDataPublicSignalsLength(attestationId: AttestationId)
|
||||
case 3:
|
||||
return Math.ceil(119 / 31);
|
||||
case 4:
|
||||
return Math.ceil(30 / 31);
|
||||
return Math.ceil(298 / 31);
|
||||
default:
|
||||
throw new ProofError(`Invalid attestation ID: ${attestationId}`);
|
||||
}
|
||||
@@ -30,7 +30,7 @@ export const bytesCount: Record<AttestationId, number[]> = {
|
||||
1: [31, 31, 31],
|
||||
2: [31, 31, 31, 1],
|
||||
3: [31, 31, 31, 26],
|
||||
4: [31, 31, 31, 26],
|
||||
4: [31, 31, 31, 31, 31, 31, 31, 31, 31, 19],
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user