fixing melting according to the refresh_probability=1 used in debugging circumstances'

This commit is contained in:
Marcello Stanisci 2016-06-10 16:27:31 +02:00
parent 0f85142d27
commit 1db423907e

View File

@ -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);