diff options
Diffstat (limited to 'src/util/denom.c')
-rw-r--r-- | src/util/denom.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/util/denom.c b/src/util/denom.c index bcfa3efa..6ff92e89 100644 --- a/src/util/denom.c +++ b/src/util/denom.c @@ -199,7 +199,10 @@ TALER_denom_pub_hash (const struct TALER_DenominationPublicKey *denom_pub, GNUNET_free (buf); } break; - // TODO: add case for Clause-Schnorr + case TALER_DENOMINATION_CS: + GNUNET_CRYPTO_hash_context_read (hc, + &denom_pub->details.cs_public_key, + sizeof(denom_pub->details.cs_public_key)); default: GNUNET_assert (0); } @@ -237,11 +240,6 @@ TALER_denom_blind (const struct TALER_DenominationPublicKey *dk, struct TALER_CoinPubHash *c_hash, struct TALER_BlindedPlanchet *blinded_planchet) { - // if (dk->cipher != blinded_planchet->cipher) - // { - // GNUNET_break (0); - // return GNUNET_SYSERR; - // } blinded_planchet->cipher = dk->cipher; TALER_coin_pub_hash (coin_pub, age_commitment_hash, |