diff --git a/lib/suites.js b/lib/suites.js index 838c41cb..18193420 100644 --- a/lib/suites.js +++ b/lib/suites.js @@ -38,14 +38,14 @@ export function getSuiteParams({config, suiteName}) { let referenceId = 'assertionMethod'; let zcap = config.zcaps[referenceId]; - // other possible reference ID formats to check for backwards compatibility - const otherReferenceIdFormats = [ + // older reference ID formats to check for backwards compatibility + const olderReferenceIdFormats = [ 'assertionMethod:Ed25519', 'assertionMethod:ed25519', 'assertionMethod:P-256' ]; if(!zcap) { - for(const referenceIdFormat of otherReferenceIdFormats) { + for(const referenceIdFormat of olderReferenceIdFormats) { if(config.zcaps[referenceIdFormat]) { referenceId = referenceIdFormat; zcap = config.zcaps[referenceId];