summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-15 00:15:40 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-15 00:15:40 +0100
commit087de13e0a2173f8f1f87bcef1fe8e33c23e4967 (patch)
treeb3587b2ec05a52329b1da7720ea67ab8fe18c4d4 /src/lib
parentbf3c7dd10fea30d3c59849a21cefcb79c7c940e4 (diff)
downloadexchange-087de13e0a2173f8f1f87bcef1fe8e33c23e4967.tar.gz
exchange-087de13e0a2173f8f1f87bcef1fe8e33c23e4967.tar.bz2
exchange-087de13e0a2173f8f1f87bcef1fe8e33c23e4967.zip
use new parsing API, fixes issues
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c3
-rw-r--r--src/lib/test_exchange_api.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 6b51519fd..c7b402b5e 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -1262,7 +1262,7 @@ keys_completed_cb (void *cls,
for (unsigned int i = 0; i<kd_old.num_denom_keys; i++)
kd.denom_keys[i].key.rsa_public_key
= GNUNET_CRYPTO_rsa_public_key_dup (
- kd_old.denom_keys[i].key.rsa_public_key);
+ kd_old.denom_keys[i].key.rsa_public_key);
kd.num_auditors = kd_old.num_auditors;
kd.auditors = GNUNET_new_array (kd.num_auditors,
@@ -1422,6 +1422,7 @@ TEAH_path_to_url (struct TALER_EXCHANGE_Handle *h,
/**
* Obtain the URL to use for an API request.
+ * FIXME: duplicates MAH_path_to_url2, and likely also logic in util!
*
* @param base_url base URL of the exchange (i.e. "http://exchange/")
* @param path Taler API path (i.e. "/reserve/withdraw")
diff --git a/src/lib/test_exchange_api.c b/src/lib/test_exchange_api.c
index 81e54a981..4a1f406f5 100644
--- a/src/lib/test_exchange_api.c
+++ b/src/lib/test_exchange_api.c
@@ -121,14 +121,11 @@ run (void *cls,
*/
CMD_TRANSFER_TO_EXCHANGE ("create-reserve-1",
"EUR:5.01"),
-
/**
* Make a reserve exist, according to the previous
* transfer.
*/
CMD_EXEC_WIREWATCH ("wirewatch-1"),
-
-
/**
* Withdraw EUR:5.
*/
@@ -136,7 +133,6 @@ run (void *cls,
"create-reserve-1",
"EUR:5",
MHD_HTTP_OK),
-
/**
* Check the reserve is depleted.
*/