summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_get-tips-ID.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-tips-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_get-tips-ID.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_get-tips-ID.c b/src/backend/taler-merchant-httpd_get-tips-ID.c
index 4b4b2858..f427b168 100644
--- a/src/backend/taler-merchant-httpd_get-tips-ID.c
+++ b/src/backend/taler-merchant-httpd_get-tips-ID.c
@@ -30,7 +30,7 @@
char *
TMH_make_taler_tip_uri (struct MHD_Connection *con,
- const struct GNUNET_HashCode *tip_id,
+ const struct TALER_TipIdentifierP *tip_id,
const char *instance_id)
{
const char *host;
@@ -92,7 +92,7 @@ TMH_make_taler_tip_uri (struct MHD_Connection *con,
char *
TMH_make_tip_status_url (struct MHD_Connection *con,
- const struct GNUNET_HashCode *tip_id,
+ const struct TALER_TipIdentifierP *tip_id,
const char *instance_id)
{
const char *host;
@@ -155,7 +155,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh,
struct MHD_Connection *connection,
struct TMH_HandlerContext *hc)
{
- struct GNUNET_HashCode tip_id;
+ struct TALER_TipIdentifierP tip_id;
enum GNUNET_DB_QueryStatus qs;
struct TALER_Amount total_authorized;
struct TALER_Amount total_picked_up;
@@ -165,7 +165,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh,
if (GNUNET_OK !=
GNUNET_CRYPTO_hash_from_string (hc->infix,
- &tip_id))
+ &tip_id.hash))
{
/* tip_id has wrong encoding */
GNUNET_break_op (0);