forked from digitalbazaar/vc
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
If a credential is expired, that throws an error here:
Line 359 in 5eeabad
| _checkCredential({credential, log, now}); |
which isn't caught before the next few lines - which check status - can run.
So status doesn't get checked, but should. Otherwise the verifier UI can only show no status or status false, both of which are wrong and misleadingly.
I think we need to move the status check before the expiry check (i.e, before the _checkCredential call.
This should be done as part of digitalcredentials/verifier-core#3
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done (Deployed/Closed)