From 634fc3090574ca303d0fe30ad3189c889782d2cb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 3 May 2023 15:46:00 +0200 Subject: expand merchant order logic to return exchanges trusted by the merchant and indicate priority based on exchange /wire respons availability and restrictions --- src/backend/taler-merchant-httpd_post-orders-ID-abort.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-abort.c') diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c index 9ab10939..1853e88a 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c @@ -498,18 +498,17 @@ refund_cb (void *cls, * @param cls the `struct AbortContext` * @param hr HTTP response details * @param exchange_handle NULL if exchange was not found to be acceptable - * @param exchange_trusted true if this exchange is - * trusted by config + * @param ih internal handle to the exchange */ static void process_abort_with_exchange (void *cls, const struct TALER_EXCHANGE_HttpResponse *hr, struct TALER_EXCHANGE_Handle *exchange_handle, - bool exchange_trusted) + struct TMH_Exchange *ih) { struct AbortContext *ac = cls; - (void) exchange_trusted; + (void) ih; ac->fo = NULL; GNUNET_assert (GNUNET_YES == ac->suspended); if (NULL == hr) -- cgit v1.2.3