aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorNic Eigel <nic@eigel.ch>2024-01-17 05:06:27 +0100
committerNic Eigel <nic@eigel.ch>2024-01-17 05:06:27 +0100
commit9ffcf1c03c267bc8918a6b38a422f9ba573dc75a (patch)
tree0eb03c10f0ce440440e6bf602e7a29e61d29d63c /src/auditor
parentb5de0afa73c0b8f7bcf988e2bc00f07f4f6cf42e (diff)
fixing pipeline
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/generate-auditor-basedb.conf8
-rw-r--r--src/auditor/taler-helper-auditor-deposits.c14
2 files changed, 9 insertions, 13 deletions
diff --git a/src/auditor/generate-auditor-basedb.conf b/src/auditor/generate-auditor-basedb.conf
index 8efb81a3e..bcdc31860 100644
--- 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
index fea23131b..ac5fe6861 100644
--- 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 (