exchange

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

commit 7ba7a46f24cb7db3426ee0349f5dcd0178cf3c29
parent 96e047b186245ab8f0883bb0e0fe9dfaff3ef407
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sun, 19 Aug 2018 01:13:17 +0200

benchmark: remove odd macro

Diffstat:
Msrc/benchmark/taler-exchange-benchmark.c | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c @@ -197,13 +197,6 @@ static char *remote_host; */ static char *remote_dir; -/** - * Convenience macros to allocate all the currency-dependant - * strings; note that the argument list of the macro is ignored. - * It is kept as a way to make the macro more auto-descriptive - * where it is called. - */ -#define ALLOCATE_AMOUNTS(...) \ /** * Decide which exchange account is going to be @@ -368,11 +361,6 @@ run (void *cls, GNUNET_asprintf (&AMOUNT_4, "%s:4", currency); GNUNET_asprintf (&AMOUNT_1, "%s:1", currency); - ALLOCATE_AMOUNTS - (AMOUNT_5, - AMOUNT_4, - AMOUNT_1); - GNUNET_assert (GNUNET_OK == TALER_amount_get_zero (currency, &total_reserve_amount)); total_reserve_amount.value = 5 * howmany_coins;