summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_reserve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_reserve.c')
-rw-r--r--src/lib/merchant_api_get_reserve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_get_reserve.c b/src/lib/merchant_api_get_reserve.c
index d9f4a270..f92f37f9 100644
--- a/src/lib/merchant_api_get_reserve.c
+++ b/src/lib/merchant_api_get_reserve.c
@@ -155,10 +155,10 @@ handle_reserve_get_finished (void *cls,
json_array_foreach (tips, i, tip) {
struct TALER_MERCHANT_TipDetails *td = &tds[i];
struct GNUNET_JSON_Specification ispec[] = {
- TALER_JSON_spec_amount ("amount",
- &td->amount),
GNUNET_JSON_spec_fixed_auto ("tip_id",
&td->tip_id),
+ TALER_JSON_spec_amount ("total_amount",
+ &td->amount),
GNUNET_JSON_spec_string ("reason",
&td->reason),
GNUNET_JSON_spec_end ()