[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: adapt to latest exchange API cha
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: adapt to latest exchange API changes |
Date: |
Mon, 03 Jul 2023 17:51:33 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 3f2290cf adapt to latest exchange API changes
3f2290cf is described below
commit 3f2290cfa13732991dabb175f322e32ea9f11086
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jul 3 17:51:27 2023 +0200
adapt to latest exchange API changes
---
src/backend/taler-merchant-httpd_exchanges.c | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_exchanges.c
b/src/backend/taler-merchant-httpd_exchanges.c
index 5bce19a4..c0138537 100644
--- a/src/backend/taler-merchant-httpd_exchanges.c
+++ b/src/backend/taler-merchant-httpd_exchanges.c
@@ -1227,9 +1227,12 @@ wire_task_cb (void *cls)
GNUNET_assert (NULL == exchange->wire_request);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Initiating /wire download\n");
- exchange->wire_request = TALER_EXCHANGE_wire (exchange->conn,
- &handle_wire_data,
- exchange);
+ exchange->wire_request
+ = TALER_EXCHANGE_wire (merchant_curl_ctx,
+ exchange->url,
+ TALER_EXCHANGE_get_keys (exchange->conn),
+ &handle_wire_data,
+ exchange);
}
@@ -1461,9 +1464,12 @@ keys_mgmt_cb (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Got key data, but also need wire data. Will request /wire
now\n");
exchange->wire_request
- = TALER_EXCHANGE_wire (exchange->conn,
- &handle_wire_data,
- exchange);
+ = TALER_EXCHANGE_wire (
+ merchant_curl_ctx,
+ exchange->url,
+ TALER_EXCHANGE_get_keys (exchange->conn),
+ &handle_wire_data,
+ exchange);
}
}
@@ -1840,7 +1846,9 @@ TMH_EXCHANGES_wire4exchange (
"Requesting /wire from `%s'\n",
exchange->url);
exchange->wire_request
- = TALER_EXCHANGE_wire (exchange->conn,
+ = TALER_EXCHANGE_wire (merchant_curl_ctx,
+ exchange->url,
+ TALER_EXCHANGE_get_keys (exchange->conn),
&handle_wire_data,
exchange);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.