aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-17 12:07:53 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-17 18:16:19 +0100
commit44d207002cddd288355380657f84d8576d5be053 (patch)
treeaa0b81a3e9de20d88ddcaa833e3b65fc3dbe59a1 /src
parentf0ddb591ca1744318d07b45acdeb73caec3b02dd (diff)
adjust callback to match revised libtalerexchange API for /deposit
Diffstat (limited to 'src')
-rw-r--r--src/backend/taler-merchant-httpd_pay.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
index 60c6a0a5..f3af4a46 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -898,6 +898,7 @@ begin_transaction (struct PayContext *pc);
* (200) for successful deposit; 0 if the exchange's reply is bogus (fails
* to follow the protocol)
* @param ec taler-specific error code, #TALER_EC_NONE on success
+ * @param exchange_sig signature from the exchange over the deposit confirmation
* @param sign_key which key did the exchange use to sign the @a proof
* @param proof the received JSON reply,
* should be kept as proof (and, in case of errors, be forwarded to
@@ -907,7 +908,8 @@ static void
deposit_cb (void *cls,
unsigned int http_status,
enum TALER_ErrorCode ec,
- const struct TALER_ExchangePublicKeyP *sign_key,
+ const struct TALER_ExchangeSignatureP *exchange_sig,
+ const struct TALER_ExchangePublicKeyP *sign_key,
const json_t *proof)
{
struct DepositConfirmation *dc = cls;