summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_transfers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r--src/lib/merchant_api_post_transfers.c8
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 8b302ab1..01144833 100644
--- a/src/lib/merchant_api_post_transfers.c
+++ b/src/lib/merchant_api_post_transfers.c
@@ -101,15 +101,15 @@ handle_post_transfers_finished (void *cls,
{
struct TALER_Amount total;
struct TALER_Amount wire_fee;
- struct GNUNET_TIME_Absolute execution_time;
+ struct GNUNET_TIME_Timestamp execution_time;
json_t *deposit_sums;
struct GNUNET_JSON_Specification spec[] = {
TALER_JSON_spec_amount_any ("total",
&total),
TALER_JSON_spec_amount_any ("wire_fee",
&wire_fee),
- TALER_JSON_spec_absolute_time ("execution_time",
- &execution_time),
+ GNUNET_JSON_spec_timestamp ("execution_time",
+ &execution_time),
GNUNET_JSON_spec_json ("deposit_sums",
&deposit_sums),
GNUNET_JSON_spec_end ()
@@ -263,7 +263,7 @@ handle_post_transfers_finished (void *cls,
}
pth->cb (pth->cb_cls,
&hr,
- GNUNET_TIME_UNIT_FOREVER_ABS,
+ GNUNET_TIME_UNIT_FOREVER_TS,
NULL,
NULL,
0,