exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 87aa8b54cc10301b6c03572962bae3c2d5a47bb0
parent d3557e53832883b8bf366a4ea33dcaf3d7af6b79
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 13 Jan 2020 23:51:01 +0100

properly initialize wtid in test

Diffstat:
Msrc/lib/test_bank_api.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/test_bank_api.c b/src/lib/test_bank_api.c @@ -63,6 +63,7 @@ run (void *cls, struct TALER_TESTING_Interpreter *is) { struct TALER_WireTransferIdentifierRawP wtid; + memset (&wtid, 42, sizeof (wtid)); struct TALER_TESTING_Command commands[] = { TALER_TESTING_cmd_bank_credits ("history-0", bc.exchange_account_url, @@ -104,7 +105,6 @@ run (void *cls, TALER_TESTING_cmd_end () }; - memset (&wtid, 42, sizeof (wtid)); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Bank serves at `%s'\n", bc.bank_url);