diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-refund.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-refund.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-refund.c b/src/backend/taler-merchant-httpd_post-orders-ID-refund.c index ff64d9a2..8ba00129 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-refund.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-refund.c @@ -134,7 +134,7 @@ struct PostRefundData /** * Hashed version of contract terms. All zeros if not provided. */ - struct GNUNET_HashCode h_contract_terms; + struct TALER_PrivateContractHash h_contract_terms; /** * DLL of (suspended) requests. @@ -620,7 +620,8 @@ TMH_post_orders_ID_refund (const struct TMH_RequestHandler *rh, hc->infix); } { - struct GNUNET_HashCode h_contract_terms; + struct TALER_PrivateContractHash h_contract_terms; + if (GNUNET_OK != TALER_JSON_contract_hash (contract_terms, &h_contract_terms)) |