aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-02 22:21:44 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-02 22:21:44 +0100
commitba3b53cd271f09d25f416c64da30e58dd863eaa7 (patch)
tree527b1063acb5b591c7924ccac98d0067ff9e0423 /src/lib
parenta703171f083bab8bb5f316edc47bcffced1f171a (diff)
downloadexchange-ba3b53cd271f09d25f416c64da30e58dd863eaa7.tar.xz
-refund deadline should be optional/can be 0
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/auditor_api_deposit_confirmation.c5
1 files changed, 3 insertions, 2 deletions
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",