summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_payback.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-03 15:20:50 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-03 15:22:16 +0200
commit219f702926c61adedea9458e07a6936e76cfe13e (patch)
treec5bc1a952ac1cb024823921a6a52bb9db0399ccc /src/exchange/taler-exchange-httpd_payback.c
parent41afe6fd675a6293a538d6523a46553650effc2a (diff)
downloadexchange-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_payback.c')
-rw-r--r--src/exchange/taler-exchange-httpd_payback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_payback.c b/src/exchange/taler-exchange-httpd_payback.c
index 877a3ce2..2164863e 100644
--- a/src/exchange/taler-exchange-httpd_payback.c
+++ b/src/exchange/taler-exchange-httpd_payback.c
@@ -318,7 +318,7 @@ verify_and_execute_payback (struct MHD_Connection *connection,
int mhd_ret;
/* check denomination exists and is in payback mode */
- key_state = TEH_KS_acquire ();
+ key_state = TEH_KS_acquire (GNUNET_TIME_absolute_get ());
if (NULL == key_state)
{
TALER_LOG_ERROR ("Lacking keys to operate\n");