diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-16 19:24:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-16 19:24:08 +0200 |
commit | d1992e59839e49c09ff260588b99cb16ce2942d9 (patch) | |
tree | dfa94bf7368f6d135bb489c52af77724b8483ecf /src/lib | |
parent | 95c71daf5ee1954342490feabb6ec6220fa3f3e8 (diff) |
new configuration option: wallet balance threshold
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_handle.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index 142ed18e6..5ce5285d0 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -685,8 +685,6 @@ decode_keys_json (const json_t *resp_obj, &sig), GNUNET_JSON_spec_fixed_auto ("eddsa_pub", &pub), - /* sig and pub must be first, as we skip those if - check_sig is false! */ GNUNET_JSON_spec_fixed_auto ("master_public_key", &key_data->master_pub), TALER_JSON_spec_absolute_time ("list_issue_date", @@ -695,6 +693,10 @@ decode_keys_json (const json_t *resp_obj, &key_data->reserve_closing_delay), GNUNET_JSON_spec_string ("currency", ¤cy), + GNUNET_JSON_spec_mark_optional ( + TALER_JSON_spec_amount ("wallet_balance_limit_without_kyc", + currency, + &key_data->wallet_balance_limit_without_kyc)), GNUNET_JSON_spec_end () }; |