aboutsummaryrefslogtreecommitdiff
path: root/src/util/denom.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-09 16:43:36 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-09 16:43:36 +0100
commit1777db292e6e0d653e5e1e103317f2cc5ac241b6 (patch)
tree8be88489e754a53de87c55c0824bc749befa8132 /src/util/denom.c
parentd05c561e4f95a845e3c8793a752369365f307d5f (diff)
downloadexchange-1777db292e6e0d653e5e1e103317f2cc5ac241b6.tar.xz
-fix withdraw logic
Diffstat (limited to 'src/util/denom.c')
-rw-r--r--src/util/denom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/denom.c b/src/util/denom.c
index b0982c008..df5035d1e 100644
--- a/src/util/denom.c
+++ b/src/util/denom.c
@@ -364,15 +364,15 @@ TALER_denom_blind (
struct TALER_DenominationCSPublicRPairP blinded_r_pub;
struct GNUNET_CRYPTO_CsBlindingSecret bs[2];
- blinded_planchet->cipher = dk->cipher;
+ blinded_planchet->cipher = TALER_DENOMINATION_CS;
GNUNET_CRYPTO_cs_blinding_secrets_derive (&coin_bks->nonce,
bs);
GNUNET_CRYPTO_cs_calc_blinded_c (
bs,
alg_values->details.cs_values.r_pub_pair.r_pub,
&dk->details.cs_public_key,
- &c_hash->hash,
- sizeof(struct GNUNET_HashCode),
+ c_hash,
+ sizeof(*c_hash),
blinded_planchet->details.cs_blinded_planchet.c,
blinded_r_pub.r_pub);
return GNUNET_OK;