diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-06 17:58:42 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-06 17:58:42 +0100 |
commit | b6a2c061588ab34e8868db4970e77653b36b97b4 (patch) | |
tree | 42df26a8b9c8de5b51285fb5985f66c1bf8dc578 | |
parent | 225e89e6a525f5788cd6b61b3b79aa8f633b9ede (diff) |
Use exchange-lib function to get the exchange's base URL.
-rw-r--r-- | src/lib/testing_api_cmd_tip.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/testing_api_cmd_tip.c b/src/lib/testing_api_cmd_tip.c index f6a8f843..b939d8e5 100644 --- a/src/lib/testing_api_cmd_tip.c +++ b/src/lib/testing_api_cmd_tip.c @@ -30,17 +30,6 @@ #include "taler_merchant_testing_lib.h" /** - * Obtain the URL to use for an API request. - * - * @param h the exchange handle to query - * @param path Taler API path (i.e. "/reserve/withdraw") - * @return the full URL to use with cURL - */ -char * -MAH_path_to_url (struct TALER_EXCHANGE_Handle *h, - const char *path); - -/** * State for a /tip-pickup CMD. */ struct TipPickupState @@ -958,7 +947,7 @@ tip_pickup_run (void *cls, const struct GNUNET_HashCode *tip_id; tps->is = is; - tps->exchange_url = MAH_path_to_url (tps->exchange, "/"); + tps->exchange_url = TALER_EXCHANGE_get_base_url (tps->exchange); if (NULL == tps->replay_reference) { replay_cmd = NULL; |