From 5fbda29b76c24d9614402cd882f14ffc15d67a79 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 2 Oct 2018 22:59:41 +0200 Subject: more realistic refresh output, based on coinsim --- src/exchange-lib/testing_api_cmd_refresh.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/exchange-lib/testing_api_cmd_refresh.c b/src/exchange-lib/testing_api_cmd_refresh.c index 6075ad1c6..43c42a17d 100644 --- a/src/exchange-lib/testing_api_cmd_refresh.c +++ b/src/exchange-lib/testing_api_cmd_refresh.c @@ -887,14 +887,10 @@ refresh_melt_run (void *cls, struct RefreshMeltState *rms = cls; unsigned int num_fresh_coins; const struct TALER_TESTING_Command *coin_command; + /* FIXME: this should be dynamic */ const char *melt_fresh_amounts[] = { - /* with 0.01 withdraw fees (except for 1ct coins), - this totals up to exactly EUR:3.97, and with - the 0.03 refresh fee, to EUR:4.0 */ - "EUR:1", "EUR:1", "EUR:1", "EUR:0.1", "EUR:0.1", "EUR:0.1", - "EUR:0.1", "EUR:0.1", "EUR:0.1", "EUR:0.1", "EUR:0.1", - "EUR:0.01", "EUR:0.01", "EUR:0.01", "EUR:0.01", "EUR:0.01", - "EUR:0.01", NULL}; + "EUR:1", "EUR:1", "EUR:1", "EUR:0.1", + NULL}; const struct TALER_EXCHANGE_DenomPublicKey *fresh_pk; rms->is = is; -- cgit v1.2.3