summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_post-orders-ID-refund.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-03 15:46:00 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-03 15:46:00 +0200
commit634fc3090574ca303d0fe30ad3189c889782d2cb (patch)
tree3ffff8b21f2acc6647ec0e6aa94a0977caa5d59c /src/backend/taler-merchant-httpd_post-orders-ID-refund.c
parentfbba13c83b7e209962558c9207358f607074a6da (diff)
downloadmerchant-634fc3090574ca303d0fe30ad3189c889782d2cb.tar.gz
merchant-634fc3090574ca303d0fe30ad3189c889782d2cb.tar.bz2
merchant-634fc3090574ca303d0fe30ad3189c889782d2cb.zip
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_post-orders-ID-refund.c')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-refund.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-refund.c b/src/backend/taler-merchant-httpd_post-orders-ID-refund.c
index 766c8814..ba562f9e 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-refund.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-refund.c
@@ -28,7 +28,6 @@
#include <taler/taler_json_lib.h>
#include <taler/taler_exchange_service.h>
#include "taler-merchant-httpd.h"
-#include "taler-merchant-httpd_auditors.h"
#include "taler-merchant-httpd_exchanges.h"
#include "taler-merchant-httpd_post-orders-ID-refund.h"
@@ -440,18 +439,18 @@ refund_cb (void *cls,
* @param cls a `struct CoinRefund *`
* @param hr HTTP response details
* @param eh handle to the exchange context
- * @param exchange_trusted true if this exchange is trusted by config
+ * @param ih internal handle to the exchange
*/
static void
exchange_found_cb (void *cls,
const struct TALER_EXCHANGE_HttpResponse *hr,
struct TALER_EXCHANGE_Handle *eh,
- bool exchange_trusted)
+ struct TMH_Exchange *ih)
{
struct CoinRefund *cr = cls;
struct PostRefundData *prd = cr->prd;
- (void) exchange_trusted;
+ (void) ih;
cr->fo = NULL;
if (NULL == hr)
{