aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_keys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-10 10:34:27 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-10 10:34:33 +0200
commitf4abc1c369ad3becf3d995106c6e1e9ee5f89257 (patch)
tree48dab60699c8ce961bb54bea20657aa16a91f1f9 /src/exchange/taler-exchange-httpd_keys.c
parentc57c3463d1b34eb8a277640c6d833d791097dce0 (diff)
tip -> reward
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.c')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index bcc7b991..388a383f 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -1859,8 +1859,11 @@ create_krd (struct TEH_KeyStateHandle *ksh,
TEH_currency),
GNUNET_JSON_pack_string ("asset_type",
asset_type),
+ // FIXME: legacy, remove soon!
GNUNET_JSON_pack_bool ("tipping_allowed",
- GNUNET_YES == TEH_enable_tipping),
+ GNUNET_YES == TEH_enable_rewards),
+ GNUNET_JSON_pack_bool ("rewards_allowed",
+ GNUNET_YES == TEH_enable_rewards),
GNUNET_JSON_pack_data_auto ("master_public_key",
&TEH_master_public_key),
GNUNET_JSON_pack_time_rel ("reserve_closing_delay",