Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
e31347be
Commit
e31347be
authored
Jun 17, 2021
by
Sietse Ringers
Browse files
refactor: rename conf parameter to avoid confusion with other conf parameter
parent
07c7e089
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/keyshare/keyshareserver/server.go
View file @
e31347be
...
...
@@ -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
(
c
onf
*
irma
.
Configuration
)
{
if
err
:=
s
.
loadIdemixKeys
(
c
onf
);
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
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment