summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c b/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
index 1b69fa21..0072007d 100644
--- a/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
+++ b/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
@@ -45,7 +45,7 @@ authorize_tip (const struct TMH_RequestHandler *rh,
{
enum TALER_ErrorCode ec;
struct GNUNET_TIME_Timestamp expiration;
- struct GNUNET_HashCode tip_id;
+ struct TALER_TipIdentifierP tip_id;
const char *justification;
const char *next_url;
struct TALER_Amount amount;
@@ -119,7 +119,7 @@ authorize_tip (const struct TMH_RequestHandler *rh,
struct GNUNET_CRYPTO_HashAsciiEncoded hash_enc;
MHD_RESULT res;
- GNUNET_CRYPTO_hash_to_enc (&tip_id,
+ GNUNET_CRYPTO_hash_to_enc (&tip_id.hash,
&hash_enc);
taler_tip_uri = TMH_make_taler_tip_uri (connection,
&tip_id,