Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/indy-vdr/src/anoncreds/utils/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function anonCredsRevocationStatusListFromIndyVdr(
// Check whether the highest delta index is supported in the `maxCredNum` field of the
// revocation registry definition. This will likely also be checked on other levels as well
// by the ledger or the indy-vdr library itself
if (Math.max(...delta.issued, ...delta.revoked) >= revocationRegistryDefinition.value.maxCredNum) {
if (Math.max(...delta.issued, ...delta.revoked) > revocationRegistryDefinition.value.maxCredNum) {
throw new CredoError(
`Highest delta index '${Math.max(
...delta.issued,
Expand Down
Loading