diff options
Diffstat (limited to 'src/lib/merchant_api_get_template.c')
-rw-r--r-- | src/lib/merchant_api_get_template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/merchant_api_get_template.c b/src/lib/merchant_api_get_template.c index f65f48ba..386026cf 100644 --- a/src/lib/merchant_api_get_template.c +++ b/src/lib/merchant_api_get_template.c @@ -96,12 +96,12 @@ handle_get_template_finished (void *cls, json_t *contract; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("template_description", - &tgr.details.success.template_description), + &tgr.details.ok.template_description), GNUNET_JSON_spec_uint32 ("pos_algorithm", &alg32), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("pos_key", - &tgr.details.success.pos_key), + &tgr.details.ok.pos_key), NULL), GNUNET_JSON_spec_json ("template_contract", &contract), @@ -113,9 +113,9 @@ handle_get_template_finished (void *cls, spec, NULL, NULL)) { - tgr.details.success.mca = + tgr.details.ok.mca = (enum TALER_MerchantConfirmationAlgorithm) alg32; - tgr.details.success.template_contract = contract; + tgr.details.ok.template_contract = contract; tgh->cb (tgh->cb_cls, &tgr); GNUNET_JSON_parse_free (spec); |