summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_merchant_get_tip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_merchant_get_tip.c')
-rw-r--r--src/lib/merchant_api_merchant_get_tip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_merchant_get_tip.c b/src/lib/merchant_api_merchant_get_tip.c
index aad72584..2ee5a56c 100644
--- a/src/lib/merchant_api_merchant_get_tip.c
+++ b/src/lib/merchant_api_merchant_get_tip.c
@@ -82,7 +82,7 @@ parse_pickups (const json_t *pa,
&pickup->pickup_id),
GNUNET_JSON_spec_uint64 ("num_planchets",
&pickup->num_planchets),
- TALER_JSON_spec_amount ("requested_amount",
+ TALER_JSON_spec_amount_any ("requested_amount",
&pickup->requested_amount),
GNUNET_JSON_spec_end ()
};
@@ -152,9 +152,9 @@ handle_merchant_tip_get_finished (void *cls,
struct GNUNET_TIME_Absolute expiration;
struct TALER_ReservePublicKeyP reserve_pub;
struct GNUNET_JSON_Specification spec[] = {
- TALER_JSON_spec_amount ("total_authorized",
+ TALER_JSON_spec_amount_any ("total_authorized",
&total_authorized),
- TALER_JSON_spec_amount ("total_picked_up",
+ TALER_JSON_spec_amount_any ("total_picked_up",
&total_picked_up),
GNUNET_JSON_spec_string ("reason",
&reason),