gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -actually, commit phase does tak


From: gnunet
Subject: [taler-exchange] branch master updated: -actually, commit phase does take care of this
Date: Mon, 14 Feb 2022 23:15:33 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 8ecbdeb5 -actually, commit phase does take care of this
8ecbdeb5 is described below

commit 8ecbdeb55b5f9dfcd39d0ee1eaa2fc3f00aa9c5d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Feb 14 23:15:29 2022 +0100

    -actually, commit phase does take care of this
---
 src/exchange/taler-exchange-httpd_refreshes_reveal.c | 7 -------
 src/util/denom.c                                     | 4 ++--
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_refreshes_reveal.c 
b/src/exchange/taler-exchange-httpd_refreshes_reveal.c
index 779b9df4..0d8f7bf9 100644
--- a/src/exchange/taler-exchange-httpd_refreshes_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refreshes_reveal.c
@@ -634,13 +634,6 @@ resolve_refreshes_reveal_denominations (struct 
MHD_Connection *connection,
 
       rrc->blinded_planchet = rcds[i].blinded_planchet;
     }
-    // FIXME: in CS-case, we MUST check if signatures
-    // already exist under the given nonce
-    // (TODO: check: refresh session hash OK?), and if so,
-    // we MUST return the existing signatures (c0/c1 may have changed!)
-    // and MUST NOT return the fresh signatures!
-    // => change this to a 'do_refresh_reveal' and
-    // change SQL to return existing signatures (if any)!
     qs = TEH_plugin->insert_refresh_reveal (TEH_plugin->cls,
                                             melt_serial_id,
                                             num_fresh_coins,
diff --git a/src/util/denom.c b/src/util/denom.c
index 30e8dc9d..2e7b1264 100644
--- a/src/util/denom.c
+++ b/src/util/denom.c
@@ -806,8 +806,8 @@ TALER_coin_ev_hash (const struct TALER_BlindedPlanchet 
*blinded_planchet,
       blinded_planchet->details.rsa_blinded_planchet.blinded_msg_size);
     break;
   case TALER_DENOMINATION_CS:
-    // FIMXE: c-values MUST NOT be included in idempotency check
-    // during withdraw/refresh, but right now they are!!!
+    // FIXME: c-values MUST NOT be included in idempotency check
+    // during withdraw (or recoup), but right now they are!!!
     GNUNET_CRYPTO_hash_context_read (
       hash_context,
       &blinded_planchet->details.cs_blinded_planchet.c[0],

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]