summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_refreshes_reveal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-12 16:44:28 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-12 16:44:28 +0200
commit00350bc228af8f79df56df13aa10e5f86de5a5a5 (patch)
treededbcc779a7bc63fb1152ff350d6f59a7c4fcd05 /src/lib/exchange_api_refreshes_reveal.c
parentd28f18f2403d623d29ff4c9e69d3b99f7d4208b0 (diff)
downloadexchange-00350bc228af8f79df56df13aa10e5f86de5a5a5.tar.gz
exchange-00350bc228af8f79df56df13aa10e5f86de5a5a5.tar.bz2
exchange-00350bc228af8f79df56df13aa10e5f86de5a5a5.zip
remove c_hash from planchet detail where it does not logically belong
Diffstat (limited to 'src/lib/exchange_api_refreshes_reveal.c')
-rw-r--r--src/lib/exchange_api_refreshes_reveal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/exchange_api_refreshes_reveal.c b/src/lib/exchange_api_refreshes_reveal.c
index e82d33a1..6ffbb9a3 100644
--- a/src/lib/exchange_api_refreshes_reveal.c
+++ b/src/lib/exchange_api_refreshes_reveal.c
@@ -361,6 +361,7 @@ TALER_EXCHANGE_refreshes_reveal (
{
struct GNUNET_HashCode denom_hash;
struct TALER_PlanchetDetail pd;
+ struct GNUNET_HashCode c_hash;
GNUNET_CRYPTO_rsa_public_key_hash (md->fresh_pks[i].rsa_public_key,
&denom_hash);
@@ -372,6 +373,7 @@ TALER_EXCHANGE_refreshes_reveal (
if (GNUNET_OK !=
TALER_planchet_prepare (&md->fresh_pks[i],
&md->fresh_coins[noreveal_index][i],
+ &c_hash,
&pd))
{
/* This should have been noticed during the preparation stage. */