diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-03 15:46:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-03 15:46:00 +0200 |
commit | 634fc3090574ca303d0fe30ad3189c889782d2cb (patch) | |
tree | 3ffff8b21f2acc6647ec0e6aa94a0977caa5d59c /src/backend/taler-merchant-httpd.c | |
parent | fbba13c83b7e209962558c9207358f607074a6da (diff) |
expand merchant order logic to return exchanges trusted by the merchant and indicate priority based on exchange /wire respons availability and restrictions
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 8f455f58..a676a009 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -28,7 +28,6 @@ #include <taler/taler_mhd_lib.h> #include <taler/taler_templating_lib.h> #include <taler/taler_exchange_service.h> -#include "taler-merchant-httpd_auditors.h" #include "taler-merchant-httpd_config.h" #include "taler-merchant-httpd_exchanges.h" #include "taler-merchant-httpd_get-orders-ID.h" @@ -313,7 +312,6 @@ do_shutdown (void *cls) TMH_db = NULL; } TMH_EXCHANGES_done (); - TMH_AUDITORS_done (); if (NULL != TMH_by_id_map) { GNUNET_CONTAINER_multihashmap_iterate (TMH_by_id_map, @@ -1892,7 +1890,6 @@ run (void *cls, int fh; enum TALER_MHD_GlobalOptions go; int elen; - int alen; const char *tok; (void) cls; @@ -1966,16 +1963,10 @@ run (void *cls, GNUNET_SCHEDULER_shutdown (); return; } - alen = TMH_AUDITORS_init (config); - if (GNUNET_SYSERR == alen) - { - GNUNET_SCHEDULER_shutdown (); - return; - } - if (0 == elen + alen) + if (0 == elen) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Fatal: no trusted exchanges and no trusted auditors configured. Exiting.\n"); + "Fatal: no trusted exchanges configured. Exiting.\n"); GNUNET_SCHEDULER_shutdown (); return; } |