aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_tip_pickup.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-03 17:03:07 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-03 17:03:07 +0200
commit474ea4a802d7c7f944c9ce93fa4e916b48c1e6c5 (patch)
tree65afe4b7ef3a1ee4016eba1c09af1009f8ebf99f /src/lib/merchant_api_tip_pickup.c
parent537a490ff91cda40997886dc38c457e3c43900bc (diff)
-fix merchant FTBFS
Diffstat (limited to 'src/lib/merchant_api_tip_pickup.c')
-rw-r--r--src/lib/merchant_api_tip_pickup.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/lib/merchant_api_tip_pickup.c b/src/lib/merchant_api_tip_pickup.c
index cd1f2035..e8cee8ec 100644
--- a/src/lib/merchant_api_tip_pickup.c
+++ b/src/lib/merchant_api_tip_pickup.c
@@ -327,14 +327,15 @@ csr_cb (void *cls,
struct TALER_MERCHANT_TipPickupHandle *
-TALER_MERCHANT_tip_pickup (struct GNUNET_CURL_Context *ctx,
- struct TALER_EXCHANGE_Handle *exchange,
- const char *backend_url,
- const struct TALER_TipIdentifierP *tip_id,
- unsigned int num_planchets,
- const struct TALER_MERCHANT_PlanchetData *pds,
- TALER_MERCHANT_TipPickupCallback pickup_cb,
- void *pickup_cb_cls)
+TALER_MERCHANT_tip_pickup (
+ struct GNUNET_CURL_Context *ctx,
+ const char *exchange_url,
+ const char *backend_url,
+ const struct TALER_TipIdentifierP *tip_id,
+ unsigned int num_planchets,
+ const struct TALER_MERCHANT_PlanchetData *pds,
+ TALER_MERCHANT_TipPickupCallback pickup_cb,
+ void *pickup_cb_cls)
{
struct TALER_MERCHANT_TipPickupHandle *tp;
@@ -376,7 +377,8 @@ TALER_MERCHANT_tip_pickup (struct GNUNET_CURL_Context *ctx,
{
TALER_cs_withdraw_nonce_derive (&pd->ps,
&pd->nonce);
- pd->csr = TALER_EXCHANGE_csr_withdraw (exchange,
+ pd->csr = TALER_EXCHANGE_csr_withdraw (ctx,
+ exchange_url,
&pd->pk,
&pd->nonce,
&csr_cb,