commit 661a2bcd680b96f69d9bc5f10d908a56a6fc771c
parent e5a5b6d566433dc59eebc275e75023790b0b1fbe
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date: Wed, 13 Mar 2024 10:35:56 +0100
[lib] small changes
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git 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
@@ -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));
}