commit 7c3dc032bf5af4d007180ec736a383fcae2e98a8
parent a1c1172cf9e7e9831c049c45d4c14f68c5a17e99
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 20 Mar 2024 15:31:21 +0100
clean up
Diffstat:
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
@@ -120,6 +120,7 @@ static struct TALER_SecurityModulePublicKeyP esign_sm_pub;
/**
* Information about a donation unit on offer by the donation unit helper.
*/
+// KILL!
struct HelperDonationUnit
{
@@ -178,6 +179,7 @@ struct HelperDonationUnit
/**
* Information about a signing key on offer by the esign helper.
*/
+// KILL!
struct HelperSignkey
{
/**
@@ -567,16 +569,12 @@ insert_donation_unit_cb (void *cls,
0 == json_array_append_new (
kbc->donation_units,
GNUNET_JSON_PACK (
- GNUNET_JSON_pack_data_auto ("donation_unit_pub",
- &hd->donation_unit_pub),
- GNUNET_JSON_pack_uint64 ("validity_year",
+ // GNUNET_JSON_pack_data_auto ("donation_unit_pub",
+ // &hd->donation_unit_pub),
+ GNUNET_JSON_pack_uint64 ("year",
du->validity_year),
TALER_JSON_pack_amount ("value",
- &du->value),
- GNUNET_JSON_pack_data_auto ("donation_unit_secmod_sig",
- &hd->sm_sig),
- GNUNET_JSON_pack_string ("section_name",
- hd->section_name)
+ &du->value)
)));
return GNUNET_OK;
}