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/auditor_api_deposit_confirmation.c | |
parent | 3cdf7dfaaac3595b07931b385b3ce4aa8e67ebed (diff) | |
download | exchange-7d809d1f4c2dda593f810c2bf5b924a9332891ab.tar.xz |
-even better
Diffstat (limited to 'src/lib/auditor_api_deposit_confirmation.c')
-rw-r--r-- | src/lib/auditor_api_deposit_confirmation.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c index 93d7d557a..9c13c3f0f 100644 --- a/src/lib/auditor_api_deposit_confirmation.c +++ b/src/lib/auditor_api_deposit_confirmation.c @@ -227,8 +227,7 @@ verify_signatures (const struct GNUNET_HashCode *h_wire, TALER_LOG_WARNING ("Invalid signature on exchange signing key!\n"); return GNUNET_SYSERR; } - if (GNUNET_TIME_relative_is_zero ( - GNUNET_TIME_absolute_get_remaining (ep_end))) + if (GNUNET_TIME_absolute_is_past (ep_end)) { GNUNET_break (0); TALER_LOG_WARNING ("Exchange signing key is no longer valid!\n"); |