diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-10-27 12:48:47 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-10-27 12:48:47 +0100 |
commit | b3c7ea82a6a1ade4a310a6958c232207560d4c1a (patch) | |
tree | f2ebb414a694f63f1a42ab9e0cada02163db3925 | |
parent | 86a7aa73e66bc6088f8f4abe87fff43fc4017cdc (diff) | |
download | merchant-b3c7ea82a6a1ade4a310a6958c232207560d4c1a.tar.gz merchant-b3c7ea82a6a1ade4a310a6958c232207560d4c1a.tar.bz2 merchant-b3c7ea82a6a1ade4a310a6958c232207560d4c1a.zip |
minor fix
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 1 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_contract.c | 11 |
2 files changed, 3 insertions, 9 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 014b6fa6..550de8c1 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -33,6 +33,7 @@ #include "merchant.h" #include "taler_merchant_lib.h" #include "taler-mint-httpd_mhd.h" +#include "taler-merchant-httpd_contract.h" /** * Our hostname diff --git a/src/backend/taler-merchant-httpd_contract.c b/src/backend/taler-merchant-httpd_contract.c index de4cda7c..143746b6 100644 --- a/src/backend/taler-merchant-httpd_contract.c +++ b/src/backend/taler-merchant-httpd_contract.c @@ -55,17 +55,10 @@ MH_handler_contract (struct TMH_RequestHandler *rh, { /* 1. Generate preferred mint(s) array. - a. Add the configuration lines to specify the mint's business - address. - b. Add this address to the 'locations' object, that should be - already present in the 'proposition' gotten from the frontend. - c. Point the 'address' field's label to the one added to 'locations' - The 'mint' JSON layout is as follows: - { "address": "address_label", - "url": "mint_base_url", - "master_pub": "base32 mint's master public key" } + { "url": "mint_base_url", + "master_pub": "base32 mint's master public key" } */ |