diff options
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-claim.c | 2 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-claim.c b/src/backend/taler-merchant-httpd_post-orders-ID-claim.c index 16b69c53..de42c438 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-claim.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-claim.c @@ -272,7 +272,7 @@ TMH_post_orders_ID_claim (const struct TMH_RequestHandler *rh, /* create contract signature */ { struct TALER_PrivateContractHashP hash; - struct GNUNET_CRYPTO_EddsaSignature merchant_sig; + struct TALER_MerchantSignatureP merchant_sig; /** * Hash of the JSON contract in UTF-8 including 0-termination, diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index e6097a50..9a85bb05 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1458,6 +1458,9 @@ AGE_FAIL: enum TALER_ErrorCode ec; size_t off = 0; + TALER_merchant_contract_sign (&pc->h_contract_terms, + &pc->hc->instance->merchant_priv, + &dcd.merchant_sig); for (size_t i = 0; i<pc->coins_cnt; i++) { struct DepositConfirmation *dc = &pc->dc[i]; |