From ba3b53cd271f09d25f416c64da30e58dd863eaa7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 2 Feb 2023 22:21:44 +0100 Subject: -refund deadline should be optional/can be 0 --- src/lib/auditor_api_deposit_confirmation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c index 82537e25a..afbeda75a 100644 --- a/src/lib/auditor_api_deposit_confirmation.c +++ b/src/lib/auditor_api_deposit_confirmation.c @@ -296,8 +296,9 @@ TALER_AUDITOR_deposit_confirmation ( h_contract_terms), GNUNET_JSON_pack_timestamp ("exchange_timestamp", exchange_timestamp), - GNUNET_JSON_pack_timestamp ("refund_deadline", - refund_deadline), + GNUNET_JSON_pack_allow_null ( + GNUNET_JSON_pack_timestamp ("refund_deadline", + refund_deadline)), GNUNET_JSON_pack_timestamp ("wire_deadline", wire_deadline), TALER_JSON_pack_amount ("amount_without_fee", -- cgit v1.2.3