summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-10 16:27:31 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-10 16:27:31 +0200
commit1db423907ee425d07045438ed8a71dde6669b99a (patch)
treeaccebb53e9a282350bbabe97119de03ff8fc5f13 /src/benchmark
parent0f85142d27e30d525930b89e9d5023d4ae245c63 (diff)
downloadexchange-1db423907ee425d07045438ed8a71dde6669b99a.tar.gz
exchange-1db423907ee425d07045438ed8a71dde6669b99a.tar.bz2
exchange-1db423907ee425d07045438ed8a71dde6669b99a.zip
fixing melting according to the refresh_probability=1 used in debugging circumstances'
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index 076e1e49b..06e6622e9 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -549,8 +549,8 @@ reserve_withdraw_cb (void *cls,
GNUNET_TIME_round_abs (&refund_deadline);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Spending %d-th coin\n", coin_index);
- if (GNUNET_YES == eval_probability (REFRESH_PROBABILITY)
- && GNUNET_NO == refreshed_once)
+ if ((GNUNET_YES == eval_probability (REFRESH_PROBABILITY)
+ && GNUNET_NO == refreshed_once) || 1)
{
struct TALER_Amount one;
TALER_amount_get_zero (currency, &one);