diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-19 12:12:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-19 12:12:50 +0100 |
commit | 5f57dbbc7b1e1ed21fff24daa537b949727b7966 (patch) | |
tree | 76b0cbdb74cea37e85363de794ae2580808fe866 /src/backend/taler-merchant-httpd_private-get-tips-ID.c | |
parent | 7fc151fbb8080395579888e1cb384ccd35a36daa (diff) | |
download | merchant-5f57dbbc7b1e1ed21fff24daa537b949727b7966.tar.gz merchant-5f57dbbc7b1e1ed21fff24daa537b949727b7966.tar.bz2 merchant-5f57dbbc7b1e1ed21fff24daa537b949727b7966.zip |
-introduce new types for tip identifiers and tip pickups
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-tips-ID.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-tips-ID.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-tips-ID.c b/src/backend/taler-merchant-httpd_private-get-tips-ID.c index 0460b3c7..9b2e0de2 100644 --- a/src/backend/taler-merchant-httpd_private-get-tips-ID.c +++ b/src/backend/taler-merchant-httpd_private-get-tips-ID.c @@ -33,7 +33,7 @@ TMH_private_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; struct TALER_Amount total_authorized; struct TALER_Amount total_picked_up; char *reason; @@ -48,7 +48,7 @@ TMH_private_get_tips_ID (const struct TMH_RequestHandler *rh, GNUNET_assert (NULL != hc->infix); if (GNUNET_OK != GNUNET_CRYPTO_hash_from_string (hc->infix, - &tip_id)) + &tip_id.hash)) { /* tip_id has wrong encoding */ GNUNET_break_op (0); |