From 77f11bcfac8065816e8df06944acd91cd80b6ea9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Sep 2016 15:08:00 +0200 Subject: include execution time in signed message for /track/transfer (#4578) --- src/exchange/taler-exchange-httpd_responses.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 47a709a67..8ad934e07 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -1201,11 +1201,13 @@ TMH_RESPONSE_reply_track_transfer_details (struct MHD_Connection *connection, struct TALER_ExchangePublicKeyP pub; struct TALER_ExchangeSignatureP sig; + GNUNET_TIME_round_abs (&exec_time); deposits = json_array (); hash_context = GNUNET_CRYPTO_hash_context_start (); for (wdd_pos = wdd_head; NULL != wdd_pos; wdd_pos = wdd_pos->next) { dd.h_contract = wdd_pos->h_contract; + dd.execution_time = GNUNET_TIME_absolute_hton (exec_time); dd.transaction_id = GNUNET_htonll (wdd_pos->transaction_id); dd.coin_pub = wdd_pos->coin_pub; TALER_amount_hton (&dd.deposit_value, -- cgit v1.2.3