summaryrefslogtreecommitdiff
path: root/src/restclient/anastasis_api_keyshare_lookup.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-27 17:44:01 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-27 17:44:01 +0200
commit2e2a558a59d0e7a25953cddf2afb67b7ab96135c (patch)
treea8bbc38cdb83092cea3624a855d63a5fb8a71603 /src/restclient/anastasis_api_keyshare_lookup.c
parent3a6466bb3854863b4b35deb08cb2e4ed03ebf12b (diff)
downloadanastasis-2e2a558a59d0e7a25953cddf2afb67b7ab96135c.tar.gz
anastasis-2e2a558a59d0e7a25953cddf2afb67b7ab96135c.tar.bz2
anastasis-2e2a558a59d0e7a25953cddf2afb67b7ab96135c.zip
fix retry counter logic, deal with negative retry counters, limit code reuse for iban method
Diffstat (limited to 'src/restclient/anastasis_api_keyshare_lookup.c')
-rw-r--r--src/restclient/anastasis_api_keyshare_lookup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/restclient/anastasis_api_keyshare_lookup.c b/src/restclient/anastasis_api_keyshare_lookup.c
index c0c2812..5eeeee6 100644
--- a/src/restclient/anastasis_api_keyshare_lookup.c
+++ b/src/restclient/anastasis_api_keyshare_lookup.c
@@ -473,6 +473,8 @@ ANASTASIS_keyshare_lookup (
{
answer_s = GNUNET_STRINGS_data_to_string_alloc (hashed_answer,
sizeof (*hashed_answer));
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Querying challenge with existing response code\n");
kslo->url = TALER_url_join (backend_url,
path,
"response",
@@ -486,6 +488,8 @@ ANASTASIS_keyshare_lookup (
}
else
{
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Querying challenge without response code\n");
kslo->url = TALER_url_join (backend_url,
path,
"timeout_ms",