summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-27 10:37:53 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-27 10:37:53 +0200
commit3986c9ae2dd0deabb7ad1851cde4132479469612 (patch)
tree51752a52c5ad26dd23b8f94e9bf5669162bb9a9b
parentfe72adf6667908615b56668bedde7635a6df3885 (diff)
downloadexchange-3986c9ae2dd0deabb7ad1851cde4132479469612.tar.gz
exchange-3986c9ae2dd0deabb7ad1851cde4132479469612.tar.bz2
exchange-3986c9ae2dd0deabb7ad1851cde4132479469612.zip
fix last_cpd initialization
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index a0d359e3..769f8a5e 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -1541,8 +1541,8 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh)
json_decref (recoup);
return GNUNET_SYSERR;
}
- last_cpd = dk->meta.start;
}
+ last_cpd = dk->meta.start;
GNUNET_CRYPTO_hash_context_read (hash_context,
&dk->h_denom_pub,
sizeof (struct GNUNET_HashCode));
@@ -1602,7 +1602,6 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh)
json_decref (recoup);
return GNUNET_SYSERR;
}
-
}
json_decref (sctx.signkeys);
json_decref (recoup);