aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_patch_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_patch_template.c')
-rw-r--r--src/lib/merchant_api_patch_template.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/merchant_api_patch_template.c b/src/lib/merchant_api_patch_template.c
index 5034101d..0922586a 100644
--- a/src/lib/merchant_api_patch_template.c
+++ b/src/lib/merchant_api_patch_template.c
@@ -163,6 +163,7 @@ TALER_MERCHANT_template_patch (
const char *template_id,
const char *template_description,
const char *pos_key,
+ enum TALER_MerchantConfirmationAlgorithm mca,
json_t *template_contract,
TALER_MERCHANT_TemplatePatchCallback cb,
void *cb_cls)
@@ -173,6 +174,8 @@ TALER_MERCHANT_template_patch (
req_obj = GNUNET_JSON_PACK (
GNUNET_JSON_pack_string ("template_description",
template_description),
+ GNUNET_JSON_pack_uint64 ("pos_algorithm",
+ (uint32_t) mca),
GNUNET_JSON_pack_allow_null (
GNUNET_JSON_pack_string ("pos_key",
pos_key)),