commit 97fa63950133be7c2aa27d5482167b3397d7da0b parent e5b14601ec9ccf058c718010642df365bbfae97f Author: Christian Grothoff <grothoff@gnunet.org> Date: Sat, 18 Jul 2026 12:03:38 +0200 reset eqs on each iteration Diffstat:
| M | src/auditor/taler-helper-auditor-deposits.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-deposits.c b/src/auditor/taler-helper-auditor-deposits.c @@ -271,6 +271,11 @@ analyze_deposit_confirmations (void *cls) uint64_t pp; (void) cls; + /* Reset the shared exchange-DB status accumulator: it is a file-scope + static written by the test_dc/recheck_dc callbacks; if a previous + (possibly retried) run left it negative, failing to reset it here would + permanently wedge this helper via the `0 > eqs` checks below. */ + eqs = GNUNET_DB_STATUS_SUCCESS_NO_RESULTS; qs = TALER_AUDITORDB_get_auditor_progress ( TALER_ARL_adb, TALER_ARL_GET_PP (deposit_confirmation_serial_id),