diff options
Diffstat (limited to 'src/lib/merchant_api_get_reserve.c')
-rw-r--r-- | src/lib/merchant_api_get_reserve.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/merchant_api_get_reserve.c b/src/lib/merchant_api_get_reserve.c index 79a3fb32..591e0226 100644 --- a/src/lib/merchant_api_get_reserve.c +++ b/src/lib/merchant_api_get_reserve.c @@ -110,13 +110,13 @@ handle_reserve_get_finished (void *cls, GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("payto_uri", &payto_uri)), - TALER_JSON_spec_amount ("merchant_initial_amount", + TALER_JSON_spec_amount_any ("merchant_initial_amount", &rs.merchant_initial_amount), - TALER_JSON_spec_amount ("exchange_initial_amount", + TALER_JSON_spec_amount_any ("exchange_initial_amount", &rs.exchange_initial_amount), - TALER_JSON_spec_amount ("pickup_amount", + TALER_JSON_spec_amount_any ("pickup_amount", &rs.pickup_amount), - TALER_JSON_spec_amount ("committed_amount", + TALER_JSON_spec_amount_any ("committed_amount", &rs.committed_amount), GNUNET_JSON_spec_end () }; @@ -171,7 +171,7 @@ handle_reserve_get_finished (void *cls, struct GNUNET_JSON_Specification ispec[] = { GNUNET_JSON_spec_fixed_auto ("tip_id", &td->tip_id), - TALER_JSON_spec_amount ("total_amount", + TALER_JSON_spec_amount_any ("total_amount", &td->amount), GNUNET_JSON_spec_string ("reason", &td->reason), |