Commit ded9510f authored by Sietse Ringers's avatar Sietse Ringers
Browse files

fix: missing attributes map would be empty when requesting attributes from an expired credential

parent 6048c42e
......@@ -580,7 +580,7 @@ func (client *Client) missingAttributes(discon irma.AttributeDisCon) map[int]map
continue
}
for _, cred := range creds {
if req.Satisfy(req.Type, cred.UntranslatedAttribute(req.Type)) {
if cred.IsValid() && req.Satisfy(req.Type, cred.UntranslatedAttribute(req.Type)) {
continue conloop
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment