exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 271711ae6422e566f1fa787852ebe3fe5cb6f1a1
parent ca7fa98016cc22b94e5dcdafe2cb0cafb9af6563
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  7 Feb 2022 15:02:34 +0100

run denom helper even with zero denoms, as we may be using the other cipher type only

Diffstat:
Msrc/util/taler-exchange-secmod-cs.c | 6++----
Msrc/util/taler-exchange-secmod-rsa.c | 6++----
2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c @@ -1562,10 +1562,8 @@ run (void *cls, } if (NULL == denom_head) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "No denominations configured\n"); - global_ret = EXIT_NOTCONFIGURED; - GNUNET_SCHEDULER_shutdown (); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "No CS denominations configured\n"); 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 @@ -1540,10 +1540,8 @@ run (void *cls, } if (NULL == denom_head) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "No denominations configured\n"); - global_ret = EXIT_NOTCONFIGURED; - GNUNET_SCHEDULER_shutdown (); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "No RSA denominations configured\n"); return; } /* start job to keep keys up-to-date; MUST be run before the #listen_task,