diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-24 23:06:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-24 23:06:18 +0200 |
commit | 322e97cb11e0f05d839b99566106a6c7c9f4877f (patch) | |
tree | 0185a6dcea03efa7db7631f3ad0f672edf781f1b /src | |
parent | cbcfc56e5a122af975db6c4caf87a296124f88aa (diff) |
shutdown when done
Diffstat (limited to 'src')
-rw-r--r-- | src/auditor/taler-wire-auditor.c | 8 | ||||
-rw-r--r-- | src/auditor/test-auditor.conf | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index a3e55dc8a..edd2270bf 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -697,6 +697,7 @@ check_for_required_transfers () pp.last_timestamp = next_timestamp; /* conclude with success */ commit (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT); + GNUNET_SCHEDULER_shutdown (); } @@ -1461,10 +1462,6 @@ history_credit_cb (void *cls, } cleanup: GNUNET_assert (GNUNET_OK == - GNUNET_CONTAINER_multihashmap_remove (in_map, - &key, - rii)); - GNUNET_assert (GNUNET_OK == free_rii (NULL, &key, rii)); @@ -1650,6 +1647,9 @@ process_account_cb (void *cls, GNUNET_SCHEDULER_shutdown (); return; } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Found exchange account `%s'\n", + ai->section_name); wa = GNUNET_new (struct WireAccount); wa->wire_plugin = wp; wa->section_name = GNUNET_strdup (ai->section_name); diff --git a/src/auditor/test-auditor.conf b/src/auditor/test-auditor.conf index 420b68baf..0f16fbd9a 100644 --- a/src/auditor/test-auditor.conf +++ b/src/auditor/test-auditor.conf @@ -2,6 +2,16 @@ DB = postgres TINY_AMOUNT = TESTKUDOS:0.01 +[account-1] +WIRE_RESPONSE = ${TALER_DATA_HOME}/exchange/account-1.json +url = payto://x-taler-bank/localhost:8082/2 +plugin = taler_bank +enable_debit = yes +enable_credit = yes +TALER_BANK_AUTH_METHOD = basic +USERNAME = Exchange +PASSWORD = x + [auditordb-postgres] CONFIG = postgres:///taler-auditor-test |