aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/kyclogic_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kyclogic/kyclogic_api.c')
-rw-r--r--src/kyclogic/kyclogic_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index 7ea6b2b82..5f5b45f92 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -2777,6 +2777,12 @@ TALER_KYCLOGIC_kyc_test_required (
rule->timeframe);
}
+ if (! have_threshold)
+ {
+ *triggered_rule = NULL;
+ return GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;
+ }
+
{
struct GNUNET_TIME_Absolute now
= GNUNET_TIME_absolute_get ();