gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: shutdown when done


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: shutdown when done
Date: Sat, 24 Aug 2019 23:06:21 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 322e97cb shutdown when done
322e97cb is described below

commit 322e97cb11e0f05d839b99566106a6c7c9f4877f
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Aug 24 23:06:18 2019 +0200

    shutdown when done
---
 src/auditor/taler-wire-auditor.c |  8 ++++----
 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 a3e55dc8..edd2270b 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 420b68ba..0f16fbd9 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
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]