summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_post-orders-ID-refund.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-14 16:10:40 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-14 16:10:40 +0100
commitad5d54f48534ac0ad5bfd7f048bd7782e674a89b (patch)
tree4443e41c1aec412d82642b194aa3d837c9eb5cfd /src/backend/taler-merchant-httpd_post-orders-ID-refund.c
parent49e2e44b09dd845d0922c0acef5ff487b52bf26d (diff)
downloadmerchant-ad5d54f48534ac0ad5bfd7f048bd7782e674a89b.tar.gz
merchant-ad5d54f48534ac0ad5bfd7f048bd7782e674a89b.tar.bz2
merchant-ad5d54f48534ac0ad5bfd7f048bd7782e674a89b.zip
migration to protocol v11
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-refund.c')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-refund.c16
1 files changed, 8 insertions, 8 deletions
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 ==