gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: comments


From: gnunet
Subject: [taler-donau] branch master updated: comments
Date: Wed, 27 Mar 2024 14:02:02 +0100

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

grothoff pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new ef25f4d  comments
ef25f4d is described below

commit ef25f4df19a9644335c9eef6953f529430a1345b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Mar 27 14:01:59 2024 +0100

    comments
---
 contrib/gana                             | 2 +-
 src/donau/donau-httpd_keys.c             | 8 ++++----
 src/donau/donau-httpd_post-batch-issue.c | 4 ++++
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index ffd02aa..d505fec 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit ffd02aa14f5c245b4d2454b2abef9ef43520a5b0
+Subproject commit d505fecdf8f1339f4115f10f1ae236da7cfea0ef
diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 9527d01..ad9c4ba 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -473,9 +473,9 @@ insert_donation_unit_cb (void *cls,
         DONAU_JSON_pack_donation_unit_pub ("donation_unit_pub",
                                            &du->donation_unit_pub),
         GNUNET_JSON_pack_uint64 ("year",
-                                 du->validity_year) // ,
-        // TALER_JSON_pack_amount ("value", // FIXME
-        //                         &du->value)
+                                 du->validity_year),
+        TALER_JSON_pack_amount ("value", // FIXME
+                                &du->value)
         )));
   return GNUNET_OK;
 }
@@ -1074,7 +1074,7 @@ helper_rsa_cb (
   // if (NULL != hd)
   // {
   //   /* should be just an update (revocation!), so update existing entry */
-  //   hd->validity_duration = validity_duration;
+  //   hd->validity_duration = validity_duration; hd->lost = false;
   //   return;
   // }
   GNUNET_assert (NULL != sm_pub);
diff --git a/src/donau/donau-httpd_post-batch-issue.c 
b/src/donau/donau-httpd_post-batch-issue.c
index 2be89eb..8a71fb8 100644
--- a/src/donau/donau-httpd_post-batch-issue.c
+++ b/src/donau/donau-httpd_post-batch-issue.c
@@ -260,6 +260,7 @@ DH_handler_issue_receipts_post (struct DH_RequestContext 
*rc,
                         &temp_hash);
     GNUNET_CRYPTO_hash_xor (&h_receipts.hash, &temp_hash, &h_receipts.hash);
   }
+start:
   qs_check_receipts = DH_plugin->lookup_issued_receipts (DH_plugin->cls,
                                                          h_receipts,
                                                          &check_receipts_meta);
@@ -362,6 +363,9 @@ DH_handler_issue_receipts_post (struct DH_RequestContext 
*rc,
                                        TALER_EC_GENERIC_DB_FETCH_FAILED,
                                        NULL);
   case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS:
+    GNUNET_assert (! second_time);
+    second_time = true;
+    goto start;
   case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
     break;
   }

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