Commit e3d622d5 authored by Ivar Derksen's avatar Ivar Derksen Committed by Sietse Ringers
Browse files

Fixed storage removal causing lookup getting out of sync

parent 7106720d
......@@ -436,6 +436,7 @@ func (client *Client) RemoveStorage() error {
client.attributes = make(map[irma.CredentialTypeIdentifier][]*irma.AttributeList)
client.keyshareServers = make(map[irma.SchemeManagerIdentifier]*keyshareServer)
client.credentialsCache = make(map[irma.CredentialTypeIdentifier]map[int]*credential)
client.lookup = make(map[string]*credLookup)
if err = client.storage.DeleteAll(); err != nil {
return err
......
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