summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_handle.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/lib/exchange_api_handle.c
parentc57c3463d1b34eb8a277640c6d833d791097dce0 (diff)
downloadexchange-f4abc1c369ad3becf3d995106c6e1e9ee5f89257.tar.gz
exchange-f4abc1c369ad3becf3d995106c6e1e9ee5f89257.tar.bz2
exchange-f4abc1c369ad3becf3d995106c6e1e9ee5f89257.zip
tip -> reward
Diffstat (limited to 'src/lib/exchange_api_handle.c')
-rw-r--r--src/lib/exchange_api_handle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index a21b4c6a5..528662c60 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -639,8 +639,8 @@ decode_keys_json (const json_t *resp_obj,
&auditors_array),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_bool (
- "tipping_allowed",
- &key_data->tipping_allowed),
+ "rewards_allowed",
+ &key_data->rewards_allowed),
NULL),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_object_const ("extensions",
@@ -1983,8 +1983,8 @@ TALER_EXCHANGE_keys_to_json (const struct TALER_EXCHANGE_Keys *kd)
recoup)),
GNUNET_JSON_pack_array_steal ("auditors",
auditors),
- GNUNET_JSON_pack_bool ("tipping_allowed",
- kd->tipping_allowed),
+ GNUNET_JSON_pack_bool ("rewards_allowed",
+ kd->rewards_allowed),
GNUNET_JSON_pack_allow_null (
GNUNET_JSON_pack_object_incref ("extensions",
kd->extensions)),