gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: [lib] small changes


From: gnunet
Subject: [taler-donau] branch master updated: [lib] small changes
Date: Wed, 13 Mar 2024 10:35:04 +0100

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

lukas-matyja pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 661a2bc  [lib] small changes
661a2bc is described below

commit 661a2bcd680b96f69d9bc5f10d908a56a6fc771c
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Wed Mar 13 10:35:56 2024 +0100

    [lib] small changes
---
 src/include/donau_service.h              | 1 -
 src/lib/donau_api_batch_issue_receipts.c | 8 +++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/include/donau_service.h b/src/include/donau_service.h
index ba4978d..aa08d27 100644
--- a/src/include/donau_service.h
+++ b/src/include/donau_service.h
@@ -437,7 +437,6 @@ DONAU_get_signing_key_info (
  */
 struct DONAU_BatchIssueReceiptHandle;
 
-
 /**
  * Structure with information about a batch
  * of issue receipts.
diff --git a/src/lib/donau_api_batch_issue_receipts.c 
b/src/lib/donau_api_batch_issue_receipts.c
index df5e414..12fc8e2 100644
--- a/src/lib/donau_api_batch_issue_receipts.c
+++ b/src/lib/donau_api_batch_issue_receipts.c
@@ -97,8 +97,10 @@ issue_receipt_body_to_json (const unsigned int num_bkp,
                json_t *budikeypair;
 
                budikeypair = GNUNET_JSON_PACK (
-                 GNUNET_JSON_pack_data_auto ("bkp",
-                                                                         
&bkp[i]));
+                 GNUNET_JSON_pack_data_auto ("h_du_pub",
+                                                                         
&bkp[i]->h_donation_unit_pub),
+                 GNUNET_JSON_pack_data_auto ("blinded_udi",
+                                                                         
&bkp[i]->blinded_udi));
                GNUNET_assert (NULL != budikeypair);
                GNUNET_assert (0 ==
                                           json_array_append_new (budikeypairs,
@@ -108,7 +110,7 @@ issue_receipt_body_to_json (const unsigned int num_bkp,
                GNUNET_JSON_pack_array_steal ("budikeypairs",
                                                                                
budikeypairs),
                GNUNET_JSON_pack_data_auto ("charity_sig",
-                                                                       
charity_sig),
+                                                                       
&charity_sig->eddsa_sig),
                GNUNET_JSON_pack_uint64 ("year",
                                                                        year));
 }

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