gnunet-svn
[Top][All Lists]
Advanced

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

[exchange] branch master updated: fix auditor deposit confirmation get J


From: gnunet
Subject: [exchange] branch master updated: fix auditor deposit confirmation get JSON packer
Date: Tue, 14 Jan 2025 21:22:19 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ade3ecc39 fix auditor deposit confirmation get JSON packer
ade3ecc39 is described below

commit ade3ecc398cd68b533ebe297bcf2f36d56f0abbe
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jan 14 21:22:10 2025 +0100

    fix auditor deposit confirmation get JSON packer
---
 src/auditor/taler-auditor-httpd_deposit-confirmation-get.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c 
b/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
index 98b853105..28def6c32 100644
--- a/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
+++ b/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
@@ -55,15 +55,11 @@ add_deposit_confirmation (
     json_t *pub;
     json_t *sig;
 
-    pub = GNUNET_JSON_PACK (
-      GNUNET_JSON_pack_data_auto (NULL,
-                                  &dc->coin_pubs[i]));
+    pub = GNUNET_JSON_from_data_auto (&dc->coin_pubs[i]);
     GNUNET_assert (0 ==
                    json_array_append_new (coin_pubs_json,
                                           pub));
-    sig = GNUNET_JSON_PACK (
-      GNUNET_JSON_pack_data_auto (NULL,
-                                  &dc->coin_sigs[i]));
+    sig = GNUNET_JSON_from_data_auto (&dc->coin_sigs[i]);
     GNUNET_assert (0 ==
                    json_array_append_new (coin_sigs_json,
                                           sig));

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