diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-11 20:36:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-11 20:36:52 +0200 |
commit | a5451527cb26d876388567dc26113a83e0b79e15 (patch) | |
tree | e034247b14e29f19e9c515561fc0f24d1a833671 /src/lib/exchange_api_handle.c | |
parent | e984dbd8f48b6f4588d39e4c30ef8bceaad7e55d (diff) | |
download | exchange-a5451527cb26d876388567dc26113a83e0b79e15.tar.xz |
implement 'lost' field for #7883
Diffstat (limited to 'src/lib/exchange_api_handle.c')
-rw-r--r-- | src/lib/exchange_api_handle.c | 4 |
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), |