merchant

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

commit 9d7abac6af174ac232096b63caa167df4fe348d2
parent 862ef7cf8db650e3277128638c073746ed5ecedd
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 13 Oct 2021 13:54:31 +0200

-fix #7035

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

diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c @@ -574,11 +574,20 @@ process_find_operations (struct Exchange *exchange) fbw = NULL; continue; } + if (NULL == fbw->af) + { + /* Disagreement on the current time */ + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Exchange has no wire fees configured for `%s' wire method (will retry later)\n", + fo->wire_method); + fbw = NULL; + continue; + } if (fbw->af->start_date.abs_value_us > now.abs_value_us) { /* Disagreement on the current time */ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Exchange's earliest fee is %s adhead of our time. Clock skew issue?\n", + "Exchange's earliest fee is %s ahead of our time. Clock skew issue?\n", GNUNET_STRINGS_relative_time_to_string ( GNUNET_TIME_absolute_get_remaining (fbw->af->start_date), GNUNET_YES));