summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-22 14:54:48 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-22 14:54:48 +0800
commita5ee672256b1c362b67b6d9ed1a08f2e00ac133a (patch)
treec7e80af879803242568b913d627a8f609d449fce /src/util
parentafdccca78c95fe863f43614c92e4288a6bd79024 (diff)
downloadexchange-a5ee672256b1c362b67b6d9ed1a08f2e00ac133a.tar.gz
exchange-a5ee672256b1c362b67b6d9ed1a08f2e00ac133a.tar.bz2
exchange-a5ee672256b1c362b67b6d9ed1a08f2e00ac133a.zip
deprecating currency code in currency specifications
Diffstat (limited to 'src/util')
-rw-r--r--src/util/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/config.c b/src/util/config.c
index 188969c6f..f5accaad8 100644
--- a/src/util/config.c
+++ b/src/util/config.c
@@ -477,6 +477,8 @@ TALER_CONFIG_currency_specs_to_json (const struct
return GNUNET_JSON_PACK (
GNUNET_JSON_pack_string ("name",
cspec->name),
+ /* 'currency' is deprecated as of exchange v18 and merchant v6;
+ remove this line once current-age > 6*/
GNUNET_JSON_pack_string ("currency",
cspec->currency),
GNUNET_JSON_pack_uint64 ("num_fractional_input_digits",