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

feat: revocation server also sends updated accumulators

parent c8509831
......@@ -494,6 +494,11 @@ func (rs *RevocationStorage) updateAccumulatorTimes(types []CredentialTypeIdenti
if err = tx.Save(r); err != nil {
return err
}
s := rs.getSettings(r.CredType)
s.updated = time.Now()
// POST record to listeners, if any, asynchroniously
go rs.client.PostUpdate(r.CredType, s.PostURLs, &revocation.Update{SignedAccumulator: sacc})
}
return nil
})
......
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