summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_keys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-09-02 15:19:24 +0200
committerChristian Grothoff <christian@grothoff.org>2021-09-02 15:19:24 +0200
commite1dae71ad2cc27e77ade049264dfb2e0bff1b885 (patch)
tree07ee998fc623695b33b782979d862d25dab0f2b5 /src/exchange/taler-exchange-httpd_keys.c
parentf36240e15cc253a8118e2dcba2a2952cce942d6e (diff)
downloadexchange-e1dae71ad2cc27e77ade049264dfb2e0bff1b885.tar.gz
exchange-e1dae71ad2cc27e77ade049264dfb2e0bff1b885.tar.bz2
exchange-e1dae71ad2cc27e77ade049264dfb2e0bff1b885.zip
try to fix #7007 key update issue discovered by Sebastian
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.c')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index ddcfd28d..72c2de12 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -649,6 +649,8 @@ helper_denom_cb (
section_name,
GNUNET_STRINGS_relative_time_to_string (validity_duration,
GNUNET_NO));
+ key_generation++;
+ TEH_resume_keys_requests (false);
hd = GNUNET_CONTAINER_multihashmap_get (hs->denom_keys,
h_denom_pub);
if (NULL != hd)
@@ -710,6 +712,8 @@ helper_esign_cb (
TALER_B2S (exchange_pub),
GNUNET_STRINGS_relative_time_to_string (validity_duration,
GNUNET_NO));
+ key_generation++;
+ TEH_resume_keys_requests (false);
pid.public_key = exchange_pub->eddsa_pub;
hsk = GNUNET_CONTAINER_multipeermap_get (hs->esign_keys,
&pid);