gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 01/02: -minor code cleanup


From: gnunet
Subject: [taler-merchant] 01/02: -minor code cleanup
Date: Sun, 20 Mar 2022 13:20:30 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

commit 54ea5367a352f07fb0e41700224cfe5ad8a56444
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Mar 19 15:53:42 2022 +0100

    -minor code cleanup
---
 src/backend/taler-merchant-httpd_auditors.c |  2 +-
 src/testing/test_merchant_api.c             | 12 +++++-------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_auditors.c 
b/src/backend/taler-merchant-httpd_auditors.c
index 27b3524a..a1d70053 100644
--- a/src/backend/taler-merchant-httpd_auditors.c
+++ b/src/backend/taler-merchant-httpd_auditors.c
@@ -62,7 +62,7 @@ static unsigned int nauditors;
 json_t *j_auditors;
 
 
-int
+enum GNUNET_GenericReturnValue
 TMH_AUDITORS_check_dk (struct TALER_EXCHANGE_Handle *mh,
                        const struct TALER_EXCHANGE_DenomPublicKey *dk,
                        bool exchange_trusted,
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 5c2a8352..8fc0f4ad 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -172,7 +172,8 @@ const char *order_1_forgets_3[] = {
 static struct TALER_TESTING_Command
 cmd_exec_wirewatch (const char *label)
 {
-  return TALER_TESTING_cmd_exec_wirewatch (label, config_file);
+  return TALER_TESTING_cmd_exec_wirewatch (label,
+                                           config_file);
 }
 
 
@@ -260,10 +261,8 @@ run (void *cls,
     cmd_transfer_to_exchange ("create-reserve-1",
                               "EUR:10.02"),
     /**
-     * Make a reserve exist,
-     * according to the previous
-     * transfer.
-     *///
+     * Make a reserve exist, according to the previous transfer.
+     */
     cmd_exec_wirewatch ("wirewatch-1"),
     TALER_TESTING_cmd_check_bank_admin_transfer ("check_bank_transfer-2",
                                                  "EUR:10.02",
@@ -1111,7 +1110,7 @@ run (void *cls,
                                                           "EUR:5.01",
                                                           
TALER_EC_MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND),
 
-    // Test reserve with insufficient funds
+    /* Test reserve with insufficient funds */
     TALER_TESTING_cmd_merchant_post_reserves ("create-reserve-tip-2",
                                               merchant_url,
                                               "EUR:1.04",
@@ -1134,7 +1133,6 @@ run (void *cls,
       "tip 4",
       "EUR:5.01",
       TALER_EC_MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS),
-
     TALER_TESTING_cmd_tip_authorize_fake ("fake-tip-authorization"),
     TALER_TESTING_cmd_tip_pickup_with_ec ("pickup-non-existent-id",
                                           merchant_url,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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