gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: clean up cb


From: gnunet
Subject: [taler-donau] branch master updated: clean up cb
Date: Wed, 20 Mar 2024 15:21:50 +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 a1c1172  clean up cb
a1c1172 is described below

commit a1c1172cf9e7e9831c049c45d4c14f68c5a17e99
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Mar 20 15:21:47 2024 +0100

    clean up cb
---
 src/donau/donau-httpd_keys.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 0e6728c..ac257ef 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -559,19 +559,10 @@ insert_donation_unit_cb (void *cls,
                          void *value)
 {
   struct KeysBuilderContext *kbc = cls;
-  struct HelperDonationUnit *hd = value;
-  struct DH_DonationUnitKey *du;
-
-  du = GNUNET_CONTAINER_multihashmap_get (
-    kbc->ksh->donation_unit_map,
-    h_du_pub);
-
-  if (NULL != du)
-    return GNUNET_OK; /* skip: this key is already active! */
+  struct DH_DonationUnitKey *du = value;
 
   if (GNUNET_TIME_relative_is_zero (hd->validity_duration))
     return GNUNET_OK; /* this key already expired! */
-
   GNUNET_assert (
     0 == json_array_append_new (
       kbc->donation_units,

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