From d1992e59839e49c09ff260588b99cb16ce2942d9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Oct 2021 19:24:08 +0200 Subject: new configuration option: wallet balance threshold --- src/lib/exchange_api_handle.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/exchange_api_handle.c') 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 () }; -- cgit v1.2.3