diff options
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark-new.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark-new.c b/src/benchmark/taler-exchange-benchmark-new.c index 5e5558335..abe57b109 100644 --- a/src/benchmark/taler-exchange-benchmark-new.c +++ b/src/benchmark/taler-exchange-benchmark-new.c @@ -196,9 +196,11 @@ run (void *cls, AMOUNT_4, AMOUNT_1); - strcpy (total_reserve_amount.currency, - currency); total_reserve_amount.value = 5 * howmany_coins; + strncpy (total_reserve_amount.currency, + currency, + TALER_CURRENCY_LEN); + GNUNET_asprintf (&withdraw_fee_str, "%s:0.1", currency); |