diff options
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r-- | src/lib/merchant_api_post_transfers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c index a9eaf288..3e1a55d5 100644 --- a/src/lib/merchant_api_post_transfers.c +++ b/src/lib/merchant_api_post_transfers.c @@ -103,9 +103,9 @@ handle_post_transfers_finished (void *cls, struct GNUNET_TIME_Absolute execution_time; json_t *deposit_sums; struct GNUNET_JSON_Specification spec[] = { - TALER_JSON_spec_amount ("total", + TALER_JSON_spec_amount_any ("total", &total), - TALER_JSON_spec_amount ("wire_fee", + TALER_JSON_spec_amount_any ("wire_fee", &wire_fee), TALER_JSON_spec_absolute_time ("execution_time", &execution_time), @@ -148,9 +148,9 @@ handle_post_transfers_finished (void *cls, struct GNUNET_JSON_Specification ispec[] = { GNUNET_JSON_spec_string ("order_id", &d->order_id), - TALER_JSON_spec_amount ("deposit_value", + TALER_JSON_spec_amount_any ("deposit_value", &d->deposit_value), - TALER_JSON_spec_amount ("deposit_fee", + TALER_JSON_spec_amount_any ("deposit_fee", &d->deposit_fee), GNUNET_JSON_spec_end () }; |