merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

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

-minor code cleanup

Diffstat:
Msrc/backend/taler-merchant-httpd_auditors.c | 2+-
Msrc/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 @@ -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 @@ -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,