diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-11 18:00:20 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-11 18:00:20 +0100 |
commit | 3b1e742dde4c386b38fc77147127b4bf6119d9e5 (patch) | |
tree | 02eb79861294590a5182d2f9393dc81757204b66 /src/lib/exchange_api_recoup_refresh.c | |
parent | 9f77398fe25bb041e58ddd4c994062493275e615 (diff) | |
download | exchange-3b1e742dde4c386b38fc77147127b4bf6119d9e5.tar.xz |
-simplify: nonce no longer hashed
Diffstat (limited to 'src/lib/exchange_api_recoup_refresh.c')
-rw-r--r-- | src/lib/exchange_api_recoup_refresh.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/exchange_api_recoup_refresh.c b/src/lib/exchange_api_recoup_refresh.c index 44b117b0a..517497067 100644 --- a/src/lib/exchange_api_recoup_refresh.c +++ b/src/lib/exchange_api_recoup_refresh.c @@ -333,27 +333,6 @@ TALER_EXCHANGE_recoup_refresh ( &coin_sig), GNUNET_JSON_pack_data_auto ("coin_blind_key_secret", &bks)); - - if (TALER_DENOMINATION_CS == denom_sig->cipher) - { - struct TALER_CsNonce nonce; - - // FIXME: add this to the spec! - /* NOTE: this is not elegant, and as per the note in TALER_coin_ev_hash() - it is not strictly clear that the nonce is needed. Best case would be - to find a way to include it more 'naturally' somehow, for example with - the variant union version of bks! */ - TALER_cs_refresh_nonce_derive (rms, - idx, - &nonce); - GNUNET_assert ( - 0 == - json_object_set_new (recoup_obj, - "cs-nonce", - GNUNET_JSON_from_data_auto ( - &nonce))); - } - { char pub_str[sizeof (struct TALER_CoinSpendPublicKeyP) * 2]; char *end; |