diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-13 13:54:31 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-13 13:54:31 +0200 |
commit | 9d7abac6af174ac232096b63caa167df4fe348d2 (patch) | |
tree | 1e7c1fdb2c4fbf7e8aaf5208d9abebcf801f37ec /src/backend | |
parent | 862ef7cf8db650e3277128638c073746ed5ecedd (diff) | |
download | merchant-9d7abac6af174ac232096b63caa167df4fe348d2.tar.gz merchant-9d7abac6af174ac232096b63caa167df4fe348d2.tar.bz2 merchant-9d7abac6af174ac232096b63caa167df4fe348d2.zip |
-fix #7035
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.c | 11 |
1 files changed, 10 insertions, 1 deletions
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)); |