commit bc316afeb115c535895ea50a6197915d8aceb12a
parent 8de12b69bce189872ba7313fe73261e087909ea3
Author: Manuel Geissbühler <manuel@debian>
Date: Thu, 2 Jan 2025 19:11:05 +0100
debugging
Diffstat:
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
@@ -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 ()
};