commit 9ffcf1c03c267bc8918a6b38a422f9ba573dc75a
parent b5de0afa73c0b8f7bcf988e2bc00f07f4f6cf42e
Author: Nic Eigel <nic@eigel.ch>
Date: Wed, 17 Jan 2024 05:06:27 +0100
fixing pipeline
Diffstat:
3 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/src/auditor/generate-auditor-basedb.conf b/src/auditor/generate-auditor-basedb.conf
@@ -84,11 +84,11 @@ DB_CONNECTION="postgresql:///auditor-basedb"
DB_CONNECTION="postgresql:///auditor-basedb"
[libeufin-bank]
-CURRENCY = EUR
-DEFAULT_CUSTOMER_DEBT_LIMIT = EUR:200 # dead
-DEFAULT_ADMIN_DEBT_LIMIT = EUR:2000
+CURRENCY = TESTKUDOS
+DEFAULT_CUSTOMER_DEBT_LIMIT = TESTKUDOS:200 # dead
+DEFAULT_ADMIN_DEBT_LIMIT = TESTKUDOS:2000
REGISTRATION_BONUS_ENABLED = yes
-REGISTRATION_BONUS = EUR:100
+REGISTRATION_BONUS = TESTKUDOS:100
SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/
SERVE = tcp
PORT = 8082
diff --git a/src/auditor/taler-helper-auditor-deposits.c b/src/auditor/taler-helper-auditor-deposits.c
@@ -269,15 +269,11 @@ analyze_deposit_confirmations (void *cls)
return dcc.qs;
}
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, "getting in here when i shouldnt\n");
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, "lastseencoinserialid %lu\n",
- dcc.last_seen_coin_serial);
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, "dcc.qs %u\n", dcc.qs);
- /* if (UINT64_MAX == dcc.first_missed_coin_serial)
- ppdc.last_deposit_confirmation_serial_id = dcc.last_seen_coin_serial;
- else
- ppdc.last_deposit_confirmation_serial_id = dcc.first_missed_coin_serial - 1;
- */
+ if (UINT64_MAX == dcc.first_missed_coin_serial)
+ ppdc.last_deposit_confirmation_serial_id = dcc.last_seen_coin_serial;
+ else
+ ppdc.last_deposit_confirmation_serial_id = dcc.first_missed_coin_serial - 1;
+
/* sync 'cc' back to disk */
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == qsp)
qs = TALER_ARL_adb->update_auditor_progress_deposit_confirmation (
diff --git a/src/auditordb/pg_get_deposit_confirmations.h b/src/auditordb/pg_get_deposit_confirmations.h
@@ -30,7 +30,6 @@
* Get information about deposit confirmations from the database.
*
* @param cls the @e cls of this struct with the plugin-specific state
- * @param master_public_key for which exchange do we want to get deposit confirmations
* @param start_id row/serial ID where to start the iteration (0 from
* the start, exclusive, i.e. serial_ids must start from 1)
* @param cb function to call with results