diff options
author | Gian Demarmels <gian@demarmels.org> | 2022-01-16 22:04:52 +0100 |
---|---|---|
committer | Gian Demarmels <gian@demarmels.org> | 2022-02-04 15:37:33 +0100 |
commit | ae5f082c75eb140167dc0254894dd4d57ba62a6d (patch) | |
tree | c744335b23f9ff1e9191cf15f5bacf014a356194 /src | |
parent | bcc159de176733300c6804eabb4a1139bad56e63 (diff) | |
download | exchange-ae5f082c75eb140167dc0254894dd4d57ba62a6d.tar.xz |
repair nonce check
Diffstat (limited to 'src')
-rw-r--r-- | src/util/crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c index 50f2d97d3..549ec8b1a 100644 --- a/src/util/crypto.c +++ b/src/util/crypto.c @@ -505,8 +505,8 @@ TALER_coin_ev_hash (const struct TALER_BlindedPlanchet *blinded_planchet, return GNUNET_OK; case TALER_DENOMINATION_CS: GNUNET_CRYPTO_hash ( - &blinded_planchet->details.cs_blinded_planchet, - sizeof (blinded_planchet->details.cs_blinded_planchet), + &blinded_planchet->details.cs_blinded_planchet.nonce, + sizeof (blinded_planchet->details.cs_blinded_planchet.nonce), &bch->hash); return GNUNET_OK; default: |