diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-03 17:51:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-03 17:51:27 +0200 |
commit | 3f2290cfa13732991dabb175f322e32ea9f11086 (patch) | |
tree | 15e7724e6492935e63f8f1814b7af16c671dae12 | |
parent | 6391fb92a27b3c0f650e8d163fc4c1152b28ac09 (diff) |
adapt to latest exchange API changes
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.c | 22 |
1 files 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); } |