gnunet-svn
[Top][All Lists]
Advanced

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

[cash2ecash] branch master updated: debugging


From: gnunet
Subject: [cash2ecash] branch master updated: debugging
Date: Thu, 02 Jan 2025 19:11:14 +0100

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

manuel-geissbuehler pushed a commit to branch master
in repository cash2ecash.

The following commit(s) were added to refs/heads/master by this push:
     new bc316af  debugging
bc316af is described below

commit bc316afeb115c535895ea50a6197915d8aceb12a
Author: Manuel Geissbühler <manuel@debian>
AuthorDate: Thu Jan 2 19:11:05 2025 +0100

    debugging
---
 src/bank/bank_api_account_withdrawal.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/bank/bank_api_account_withdrawal.c 
b/src/bank/bank_api_account_withdrawal.c
index 6601c7d..0ba16e7 100644
--- a/src/bank/bank_api_account_withdrawal.c
+++ b/src/bank/bank_api_account_withdrawal.c
@@ -509,16 +509,20 @@ handle_withdrawalID_info_finished (void *cls,
       struct GNUNET_JSON_Specification spec[] = {
         GNUNET_JSON_spec_string ("status",
                                  &ir.details.ok.status),
+       GNUNET_JSON_spec_mark_optional(
        TALER_JSON_spec_amount_any("amount",
-                                  &ir.details.ok.amount),
+                                  &ir.details.ok.amount),NULL),
+       GNUNET_JSON_spec_mark_optional(
        TALER_JSON_spec_amount_any("suggested_amount",
-                                  &ir.details.ok.suggested_amount),
+                                  &ir.details.ok.suggested_amount),NULL),
         GNUNET_JSON_spec_string ("username",
                                 &ir.details.ok.username),
+       GNUNET_JSON_spec_mark_optional(
        GNUNET_JSON_spec_string ("selected_reserve_pub",
-                                &ir.details.ok.selected_reserve_pub),
+                                &ir.details.ok.selected_reserve_pub),NULL),
+       GNUNET_JSON_spec_mark_optional(
        GNUNET_JSON_spec_string ("selected_exchange_account",
-                                &ir.details.ok.selected_exchange_account),
+                                
&ir.details.ok.selected_exchange_account),NULL),
         GNUNET_JSON_spec_end ()
       };
 

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