diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-03 15:20:50 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-03 15:22:16 +0200 |
commit | 219f702926c61adedea9458e07a6936e76cfe13e (patch) | |
tree | c5bc1a952ac1cb024823921a6a52bb9db0399ccc /src/exchange/taler-exchange-httpd_reserve_withdraw.c | |
parent | 41afe6fd675a6293a538d6523a46553650effc2a (diff) | |
download | exchange-219f702926c61adedea9458e07a6936e76cfe13e.tar.gz exchange-219f702926c61adedea9458e07a6936e76cfe13e.tar.bz2 exchange-219f702926c61adedea9458e07a6936e76cfe13e.zip |
Faking the time.
Allow the user to pass a "now" value along the "/keys"
request.
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserve_withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_reserve_withdraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c b/src/exchange/taler-exchange-httpd_reserve_withdraw.c index 1a05326dd..370916b00 100644 --- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c +++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c @@ -390,7 +390,7 @@ TEH_RESERVE_handler_reserve_withdraw (struct TEH_RequestHandler *rh, json_decref (root); if (GNUNET_OK != res) return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES; - wc.key_state = TEH_KS_acquire (); + wc.key_state = TEH_KS_acquire (GNUNET_TIME_absolute_get ()); if (NULL == wc.key_state) { TALER_LOG_ERROR ("Lacking keys to operate\n"); |