merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 344965a647c2372466dc677a2e02e052bdba8f8a
parent dbaec85c258cdf017685ea14d67f050ac22b8baa
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  1 Dec 2021 17:50:56 +0100

-fix assertion failure

Diffstat:
Msrc/backend/taler-merchant-httpd_exchanges.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c @@ -869,7 +869,8 @@ fail_and_retry (struct Exchange *exchange, hr->http_status, GNUNET_STRINGS_relative_time_to_string (exchange->retry_delay, GNUNET_YES)); - GNUNET_assert (NULL == exchange->retry_task); + if (NULL != exchange->retry_task) + GNUNET_SCHEDULER_cancel (exchange->retry_task); exchange->first_retry = GNUNET_TIME_relative_to_absolute ( exchange->retry_delay); exchange->retry_task = GNUNET_SCHEDULER_add_delayed (exchange->retry_delay,