diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-07 16:33:33 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-07 16:33:33 +0200 |
commit | 7d809d1f4c2dda593f810c2bf5b924a9332891ab (patch) | |
tree | 62e9059e6277c5763dbe500b782169ee30f326de /src/lib/exchange_api_handle.c | |
parent | 3cdf7dfaaac3595b07931b385b3ce4aa8e67ebed (diff) | |
download | exchange-7d809d1f4c2dda593f810c2bf5b924a9332891ab.tar.xz |
-even better
Diffstat (limited to 'src/lib/exchange_api_handle.c')
-rw-r--r-- | src/lib/exchange_api_handle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index 32234ee66..dfd5a3dc6 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -1079,9 +1079,7 @@ TALER_EXCHANGE_check_keys_current (struct TALER_EXCHANGE_Handle *exchange, exchange->state = MHS_INIT; } if ( (! force_download) && - (! GNUNET_TIME_relative_is_zero ( - GNUNET_TIME_absolute_get_remaining ( - exchange->key_data_expiration)) ) ) + (GNUNET_TIME_absolute_is_future (exchange->key_data_expiration)) ) return exchange->key_data_expiration; if (NULL == exchange->retry_task) exchange->retry_task = GNUNET_SCHEDULER_add_now (&request_keys, |