gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 02/02: rename cs_nonce to nonce in recoup protocol


From: gnunet
Subject: [taler-exchange] 02/02: rename cs_nonce to nonce in recoup protocol
Date: Sun, 08 Dec 2024 03:15:14 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

commit 34bf8b4976539e8a9b61f76fe69ddb1688732319
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Dec 8 03:15:10 2024 +0100

    rename cs_nonce to nonce in recoup protocol
---
 src/exchange/taler-exchange-httpd_recoup-refresh.c | 3 +--
 src/exchange/taler-exchange-httpd_recoup.c         | 3 +--
 src/lib/exchange_api_recoup.c                      | 2 +-
 src/lib/exchange_api_recoup_refresh.c              | 2 +-
 4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_recoup-refresh.c 
b/src/exchange/taler-exchange-httpd_recoup-refresh.c
index a5d5b2ab4..9c392a068 100644
--- a/src/exchange/taler-exchange-httpd_recoup-refresh.c
+++ b/src/exchange/taler-exchange-httpd_recoup-refresh.c
@@ -393,9 +393,8 @@ TEH_handler_recoup_refresh (struct MHD_Connection 
*connection,
       GNUNET_JSON_spec_fixed_auto ("h_age_commitment",
                                    &coin.h_age_commitment),
       &coin.no_age_commitment),
-    // FIXME: rename to just 'nonce'
     GNUNET_JSON_spec_mark_optional (
-      GNUNET_JSON_spec_fixed_auto ("cs_nonce",
+      GNUNET_JSON_spec_fixed_auto ("nonce",
                                    &nonce),
       &no_nonce),
     GNUNET_JSON_spec_end ()
diff --git a/src/exchange/taler-exchange-httpd_recoup.c 
b/src/exchange/taler-exchange-httpd_recoup.c
index afbbd7474..618bdaa21 100644
--- a/src/exchange/taler-exchange-httpd_recoup.c
+++ b/src/exchange/taler-exchange-httpd_recoup.c
@@ -398,9 +398,8 @@ TEH_handler_recoup (struct MHD_Connection *connection,
       GNUNET_JSON_spec_fixed_auto ("h_age_commitment",
                                    &coin.h_age_commitment),
       &coin.no_age_commitment),
-    // FIXME: should be renamed to just 'nonce'!
     GNUNET_JSON_spec_mark_optional (
-      GNUNET_JSON_spec_fixed_auto ("cs_nonce",
+      GNUNET_JSON_spec_fixed_auto ("nonce",
                                    &nonce),
       &no_nonce),
     GNUNET_JSON_spec_end ()
diff --git a/src/lib/exchange_api_recoup.c b/src/lib/exchange_api_recoup.c
index 56499f381..2df144cbb 100644
--- a/src/lib/exchange_api_recoup.c
+++ b/src/lib/exchange_api_recoup.c
@@ -295,7 +295,7 @@ TALER_EXCHANGE_recoup (
       GNUNET_assert (
         0 ==
         json_object_set_new (recoup_obj,
-                             "cs_nonce",
+                             "nonce",
                              GNUNET_JSON_from_data_auto (
                                &nonce)));
     }
diff --git a/src/lib/exchange_api_recoup_refresh.c 
b/src/lib/exchange_api_recoup_refresh.c
index 0c2e21cbf..1713410a7 100644
--- a/src/lib/exchange_api_recoup_refresh.c
+++ b/src/lib/exchange_api_recoup_refresh.c
@@ -294,7 +294,7 @@ TALER_EXCHANGE_recoup_refresh (
       GNUNET_assert (
         0 ==
         json_object_set_new (recoup_obj,
-                             "cs_nonce",
+                             "nonce",
                              GNUNET_JSON_from_data_auto (
                                &nonce)));
     }

-- 
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]