commit 5fbda29b76c24d9614402cd882f14ffc15d67a79
parent 34f12d3f069cd22d9307b23fdd3cfd5fc6aeb758
Author: Florian Dold <florian.dold@gmail.com>
Date: Tue, 2 Oct 2018 22:59:41 +0200
more realistic refresh output, based on coinsim
Diffstat:
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
@@ -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;