From 9d7abac6af174ac232096b63caa167df4fe348d2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 13 Oct 2021 13:54:31 +0200 Subject: -fix #7035 --- src/backend/taler-merchant-httpd_exchanges.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c index 874c5ee0..1b2b3f50 100644 --- 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)); -- cgit v1.2.3