aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-10-02 22:59:41 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-10-02 22:59:41 +0200
commit5fbda29b76c24d9614402cd882f14ffc15d67a79 (patch)
treefb10c87c26410b1bac69e98123dc0efe9afacf75
parent34f12d3f069cd22d9307b23fdd3cfd5fc6aeb758 (diff)
more realistic refresh output, based on coinsim
-rw-r--r--src/exchange-lib/testing_api_cmd_refresh.c10
1 files 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;