diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-16 14:36:23 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-16 14:36:23 +0200 |
commit | 68d2df88f2ec0b70c3778f7f77eeb6173bd8c08b (patch) | |
tree | ba7b155be05788a698fef6685b4fffcf9c10075a /src/exchange/taler-exchange-httpd.c | |
parent | 94fa05ec2a96ca7bdc47f3dc77aa727ae81f9a44 (diff) |
allow merge into non-existent reserve if KYC is disabled
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index e7d07043..c91dbfbb 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -28,6 +28,7 @@ #include <sys/resource.h> #include <limits.h> #include "taler_kyclogic_lib.h" +#include "taler_templating_lib.h" #include "taler_mhd_lib.h" #include "taler-exchange-httpd_auditors.h" #include "taler-exchange-httpd_batch-deposit.h" @@ -2125,6 +2126,7 @@ do_shutdown (void *cls) GNUNET_CURL_gnunet_rc_destroy (exchange_curl_rc); exchange_curl_rc = NULL; } + TALER_TEMPLATING_done (); } @@ -2162,6 +2164,13 @@ run (void *cls, GNUNET_SCHEDULER_shutdown (); return; } + if (GNUNET_OK != + TALER_TEMPLATING_init ("exchange")) + { + global_ret = EXIT_FAILURE; + GNUNET_SCHEDULER_shutdown (); + return; + } if (GNUNET_SYSERR == TEH_plugin->preflight (TEH_plugin->cls)) { |