commit 611e5722b528acdc54af9469e976c206983710e6 parent bc6c1227d15b51c82c4e8ab90b5e613077f3f721 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 8 Aug 2024 23:40:29 +0200 remove bad assertions Diffstat:
| M | src/exchange/taler-exchange-httpd_kyc-wallet.c | | | 3 | --- |
| M | src/kyclogic/kyclogic_api.c | | | 6 | ------ |
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_kyc-wallet.c b/src/exchange/taler-exchange-httpd_kyc-wallet.c @@ -185,9 +185,6 @@ legi_result_cb ( { struct KycRequestContext *krc = cls; - GNUNET_assert (0 == - lcr->expiration_date.abs_time.abs_value_us - % GNUNET_TIME_UNIT_SECONDS.rel_value_us); krc->lch = NULL; krc->http_status = lcr->http_status; krc->response = lcr->response; diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c @@ -302,9 +302,6 @@ TALER_KYCLOGIC_rules_get_expiration ( { if (NULL == lrs) return GNUNET_TIME_UNIT_FOREVER_TS; - GNUNET_assert (0 == - lrs->expiration_time.abs_time.abs_value_us - % GNUNET_TIME_UNIT_SECONDS.rel_value_us); return lrs->expiration_time; } @@ -535,9 +532,6 @@ TALER_KYCLOGIC_rules_parse (const json_t *jlrs) JSON_INDENT (2)); return NULL; } - GNUNET_assert (0 == - expiration_time.abs_time.abs_value_us - % GNUNET_TIME_UNIT_SECONDS.rel_value_us); lrs = GNUNET_new (struct TALER_KYCLOGIC_LegitimizationRuleSet); lrs->expiration_time = expiration_time; lrs->successor_measure