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

refactor: rename conf parameter to avoid confusion with other conf parameter

parent 07c7e089
......@@ -76,8 +76,8 @@ func New(conf *Configuration) (*Server, error) {
if err = s.loadIdemixKeys(conf.IrmaConfiguration); err != nil {
return nil, err
}
conf.IrmaConfiguration.UpdateListeners = append(conf.IrmaConfiguration.UpdateListeners, func(conf *irma.Configuration) {
if err := s.loadIdemixKeys(conf); err != nil {
conf.IrmaConfiguration.UpdateListeners = append(conf.IrmaConfiguration.UpdateListeners, func(c *irma.Configuration) {
if err := s.loadIdemixKeys(c); err != nil {
// run periodically; can only log the error here
_ = server.LogError(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