From ad5d54f48534ac0ad5bfd7f048bd7782e674a89b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 14 Dec 2021 16:10:40 +0100 Subject: migration to protocol v11 --- src/backend/taler-merchant-httpd_post-orders-ID-refund.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-refund.c') diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-refund.c b/src/backend/taler-merchant-httpd_post-orders-ID-refund.c index 8ba00129..c6011d21 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-refund.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-refund.c @@ -79,7 +79,7 @@ struct CoinRefund * When did the merchant grant the refund. To be used to group events * in the wallet. */ - struct GNUNET_TIME_Absolute execution_time; + struct GNUNET_TIME_Timestamp execution_time; /** * Coin to refund. @@ -500,7 +500,7 @@ exchange_found_cb (void *cls, static void process_refunds_cb (void *cls, uint64_t refund_serial, - struct GNUNET_TIME_Absolute timestamp, + struct GNUNET_TIME_Timestamp timestamp, const struct TALER_CoinSpendPublicKeyP *coin_pub, const char *exchange_url, uint64_t rtransaction_id, @@ -770,8 +770,8 @@ TMH_post_orders_ID_refund (const struct TMH_RequestHandler *rh, &cr->coin_pub), TALER_JSON_pack_amount ("refund_amount", &cr->refund_amount), - GNUNET_JSON_pack_time_abs ("execution_time", - cr->execution_time)); + GNUNET_JSON_pack_timestamp ("execution_time", + cr->execution_time)); } else { @@ -790,8 +790,8 @@ TMH_post_orders_ID_refund (const struct TMH_RequestHandler *rh, &cr->coin_pub), TALER_JSON_pack_amount ("refund_amount", &cr->refund_amount), - GNUNET_JSON_pack_time_abs ("execution_time", - cr->execution_time)); + GNUNET_JSON_pack_timestamp ("execution_time", + cr->execution_time)); } } else @@ -811,8 +811,8 @@ TMH_post_orders_ID_refund (const struct TMH_RequestHandler *rh, &cr->coin_pub), TALER_JSON_pack_amount ("refund_amount", &cr->refund_amount), - GNUNET_JSON_pack_time_abs ("execution_time", - cr->execution_time)); + GNUNET_JSON_pack_timestamp ("execution_time", + cr->execution_time)); } GNUNET_assert ( 0 == -- cgit v1.2.3