summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-11 20:36:52 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-11 20:36:52 +0200
commita5451527cb26d876388567dc26113a83e0b79e15 (patch)
treee034247b14e29f19e9c515561fc0f24d1a833671 /src/lib
parente984dbd8f48b6f4588d39e4c30ef8bceaad7e55d (diff)
downloadexchange-a5451527cb26d876388567dc26113a83e0b79e15.tar.gz
exchange-a5451527cb26d876388567dc26113a83e0b79e15.tar.bz2
exchange-a5451527cb26d876388567dc26113a83e0b79e15.zip
implement 'lost' field for #7883
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 996e62734..6d1e7b692 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -246,6 +246,10 @@ parse_json_denomkey_partially (
&denom_key->valid_from),
GNUNET_JSON_spec_timestamp ("stamp_expire_legal",
&denom_key->expire_legal),
+ GNUNET_JSON_spec_mark_optional (
+ GNUNET_JSON_spec_bool ("lost",
+ &denom_key->lost),
+ NULL),
TALER_JSON_spec_denom_pub_cipher (NULL,
cipher,
&denom_key->key),