From 219f702926c61adedea9458e07a6936e76cfe13e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 3 Apr 2019 15:20:50 +0200 Subject: Faking the time. Allow the user to pass a "now" value along the "/keys" request. --- src/exchange/taler-exchange-httpd_refund.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exchange/taler-exchange-httpd_refund.c') diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c index 869158063..92dd54e9f 100644 --- a/src/exchange/taler-exchange-httpd_refund.c +++ b/src/exchange/taler-exchange-httpd_refund.c @@ -331,7 +331,7 @@ refund_transaction (void *cls, // FIXME: do this outside of transaction function? /* Check refund fee matches fee of denomination key! */ - mks = TEH_KS_acquire (); + mks = TEH_KS_acquire (GNUNET_TIME_absolute_get ()); if (NULL == mks) { TALER_LOG_ERROR ("Lacking keys to operate\n"); -- cgit v1.2.3