diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-07 15:40:21 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-07 15:40:21 +0100 |
commit | a5b824494858d2cb406b17616f3215f012b1392f (patch) | |
tree | 8405b7d40769dc96e20fdd907be6d629a2b4e905 /src/util | |
parent | 271711ae6422e566f1fa787852ebe3fe5cb6f1a1 (diff) |
-wake clients if we have 0 dks
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/taler-exchange-secmod-cs.c | 7 | ||||
-rw-r--r-- | src/util/taler-exchange-secmod-rsa.c | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c index 139b0b9d0..4e7b7d1b0 100644 --- a/src/util/taler-exchange-secmod-cs.c +++ b/src/util/taler-exchange-secmod-cs.c @@ -1495,9 +1495,9 @@ run (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg) { static struct TES_Callbacks cb = { - .dispatch = cs_work_dispatch, - .updater = cs_update_client_keys, - .init = cs_client_init + .dispatch = &cs_work_dispatch, + .updater = &cs_update_client_keys, + .init = &cs_client_init }; (void) cls; @@ -1564,6 +1564,7 @@ run (void *cls, { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "No CS denominations configured\n"); + TES_wake_clients (); return; } /* start job to keep keys up-to-date; MUST be run before the #listen_task, diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c index 6d9ee5db1..ba6ee978f 100644 --- a/src/util/taler-exchange-secmod-rsa.c +++ b/src/util/taler-exchange-secmod-rsa.c @@ -1542,6 +1542,7 @@ run (void *cls, { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "No RSA denominations configured\n"); + TES_wake_clients (); return; } /* start job to keep keys up-to-date; MUST be run before the #listen_task, |