aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-08 23:40:29 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-08 23:40:29 +0200
commit611e5722b528acdc54af9469e976c206983710e6 (patch)
tree5cc98128deda971c7ce3689353be59177295e377
parentbc6c1227d15b51c82c4e8ab90b5e613077f3f721 (diff)
remove bad assertionsv0.12.1-dev.1
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-wallet.c3
-rw-r--r--src/kyclogic/kyclogic_api.c6
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
index 0e992f5f3..4945881b5 100644
--- 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
index 40976bba2..9674ea691 100644
--- 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