summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_coins_history.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-11-25 15:04:44 +0900
committerChristian Grothoff <grothoff@gnunet.org>2023-11-25 15:04:44 +0900
commit9a4407f7a58af8cfe208436152fa32233a5ca0b3 (patch)
treeaeef9137133ab3bc3e0fd545b9b428f17e0286c5 /src/lib/exchange_api_coins_history.c
parentbaa070d19cda046cb0349e85a9a8aabcd9f52661 (diff)
downloadexchange-9a4407f7a58af8cfe208436152fa32233a5ca0b3.tar.gz
exchange-9a4407f7a58af8cfe208436152fa32233a5ca0b3.tar.bz2
exchange-9a4407f7a58af8cfe208436152fa32233a5ca0b3.zip
more strict spec parsers for payto URIs, Web URLs, and AML decision states
Diffstat (limited to 'src/lib/exchange_api_coins_history.c')
-rw-r--r--src/lib/exchange_api_coins_history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_coins_history.c b/src/lib/exchange_api_coins_history.c
index 34eca62db..6981fad5a 100644
--- a/src/lib/exchange_api_coins_history.c
+++ b/src/lib/exchange_api_coins_history.c
@@ -576,7 +576,7 @@ help_purse_deposit (struct CoinHistoryParseContext *pc,
GNUNET_JSON_spec_fixed_auto ("h_age_commitment",
&rh->details.purse_deposit.phac),
NULL),
- GNUNET_JSON_spec_string ("exchange_base_url",
+ TALER_JSON_spec_web_url ("exchange_base_url",
&rh->details.purse_deposit.exchange_base_url),
GNUNET_JSON_spec_bool ("refunded",
&rh->details.purse_deposit.refunded),