summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_instance.c')
-rw-r--r--src/lib/merchant_api_get_instance.c37
1 files changed, 18 insertions, 19 deletions
diff --git a/src/lib/merchant_api_get_instance.c b/src/lib/merchant_api_get_instance.c
index cf58f828..9cfbcf83 100644
--- a/src/lib/merchant_api_get_instance.c
+++ b/src/lib/merchant_api_get_instance.c
@@ -98,28 +98,27 @@ handle_get_instance_finished (void *cls,
const json_t *address;
const json_t *jurisdiction;
struct GNUNET_JSON_Specification spec[] = {
- GNUNET_JSON_spec_array_const ("accounts",
- &accounts),
- GNUNET_JSON_spec_string ("name",
- &igr.details.ok.details.name),
- GNUNET_JSON_spec_string ("user_type",
- &uts),
+ GNUNET_JSON_spec_array_const (
+ "accounts",
+ &accounts),
+ GNUNET_JSON_spec_string (
+ "name",
+ &igr.details.ok.details.name),
+ GNUNET_JSON_spec_string (
+ "user_type",
+ &uts),
GNUNET_JSON_spec_fixed_auto (
"merchant_pub",
&igr.details.ok.details.merchant_pub),
- GNUNET_JSON_spec_object_const ("address",
- &address),
- GNUNET_JSON_spec_object_const ("jurisdiction",
- &jurisdiction),
- TALER_JSON_spec_amount_any (
- "default_max_wire_fee",
- &igr.details.ok.details.default_max_wire_fee),
- GNUNET_JSON_spec_uint32 (
- "default_wire_fee_amortization",
- &igr.details.ok.details.default_wire_fee_amortization),
- TALER_JSON_spec_amount_any (
- "default_max_deposit_fee",
- &igr.details.ok.details.default_max_deposit_fee),
+ GNUNET_JSON_spec_object_const (
+ "address",
+ &address),
+ GNUNET_JSON_spec_object_const (
+ "jurisdiction",
+ &jurisdiction),
+ GNUNET_JSON_spec_bool (
+ "use_stefan",
+ &igr.details.ok.details.use_stefan),
GNUNET_JSON_spec_relative_time (
"default_wire_transfer_delay",
&igr.details.ok.details.default_wire_transfer_delay),