aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refund.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refund.c')
-rw-r--r--src/exchange/taler-exchange-httpd_refund.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c
index 2ea19b7e8..73b4b251b 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -94,7 +94,6 @@ reply_refund_success (struct MHD_Connection *connection,
94 * 94 *
95 * @param cls closure with a `const struct TALER_EXCHANGEDB_Refund *` 95 * @param cls closure with a `const struct TALER_EXCHANGEDB_Refund *`
96 * @param connection MHD request which triggered the transaction 96 * @param connection MHD request which triggered the transaction
97 * @param session database session to use
98 * @param[out] mhd_ret set to MHD response status for @a connection, 97 * @param[out] mhd_ret set to MHD response status for @a connection,
99 * if transaction failed (!) 98 * if transaction failed (!)
100 * @return transaction status 99 * @return transaction status
@@ -102,7 +101,6 @@ reply_refund_success (struct MHD_Connection *connection,
102static enum GNUNET_DB_QueryStatus 101static enum GNUNET_DB_QueryStatus
103refund_transaction (void *cls, 102refund_transaction (void *cls,
104 struct MHD_Connection *connection, 103 struct MHD_Connection *connection,
105 struct TALER_EXCHANGEDB_Session *session,
106 MHD_RESULT *mhd_ret) 104 MHD_RESULT *mhd_ret)
107{ 105{
108 const struct TALER_EXCHANGEDB_Refund *refund = cls; 106 const struct TALER_EXCHANGEDB_Refund *refund = cls;
@@ -118,7 +116,6 @@ refund_transaction (void *cls,
118 116
119 tl = NULL; 117 tl = NULL;
120 qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls, 118 qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls,
121 session,
122 &refund->coin.coin_pub, 119 &refund->coin.coin_pub,
123 GNUNET_NO, 120 GNUNET_NO,
124 &tl); 121 &tl);
@@ -344,7 +341,6 @@ refund_transaction (void *cls,
344 341
345 /* Finally, store new refund data */ 342 /* Finally, store new refund data */
346 qs = TEH_plugin->insert_refund (TEH_plugin->cls, 343 qs = TEH_plugin->insert_refund (TEH_plugin->cls,
347 session,
348 refund); 344 refund);
349 if (GNUNET_DB_STATUS_HARD_ERROR == qs) 345 if (GNUNET_DB_STATUS_HARD_ERROR == qs)
350 { 346 {
@@ -407,7 +403,6 @@ verify_and_execute_refund (struct MHD_Connection *connection,
407 enum GNUNET_DB_QueryStatus qs; 403 enum GNUNET_DB_QueryStatus qs;
408 404
409 qs = TEH_plugin->get_coin_denomination (TEH_plugin->cls, 405 qs = TEH_plugin->get_coin_denomination (TEH_plugin->cls,
410 NULL,
411 &refund->coin.coin_pub, 406 &refund->coin.coin_pub,
412 &denom_hash); 407 &denom_hash);
413 if (0 > qs) 408 if (0 > qs)