From 8f77bda2e0297185c98694edf0d752cc925bf9a2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 28 Feb 2022 16:13:24 +0100 Subject: -towards getting auditor tests to pass again with new logic --- src/auditor/taler-helper-auditor-coins.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/auditor/taler-helper-auditor-coins.c') diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c index 0630d3e94..af34d0ebe 100644 --- a/src/auditor/taler-helper-auditor-coins.c +++ b/src/auditor/taler-helper-auditor-coins.c @@ -2194,7 +2194,12 @@ check_denomination ( &issue->denom_hash, &TALER_ARL_auditor_pub, &auditor_sig); - if (0 >= qs) + if (0 > qs) + { + GNUNET_break (0); + return; /* skip! */ + } + if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Encountered denomination `%s' (%s) valid from %s (%llu-%llu) that this auditor is not auditing!\n", -- cgit v1.2.3