diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-07 15:18:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-07 15:18:40 +0200 |
commit | 0ef653e9684bea4d60251e73b81e1e8bc7ac570b (patch) | |
tree | 25e80e7ea7947872f615815d4cd943d20144dd6e /src/backend/taler-merchant-httpd_pay.c | |
parent | a32fb651ca7680a54d7b016101a7ad1028d1f031 (diff) | |
download | merchant-0ef653e9684bea4d60251e73b81e1e8bc7ac570b.tar.gz merchant-0ef653e9684bea4d60251e73b81e1e8bc7ac570b.tar.bz2 merchant-0ef653e9684bea4d60251e73b81e1e8bc7ac570b.zip |
store exchange signing key in DB
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index f32d3dbb..a46f3223 100644 --- a/src/backend/taler-merchant-httpd_pay.c +++ b/src/backend/taler-merchant-httpd_pay.c @@ -323,6 +323,7 @@ abort_deposit (struct PayContext *pc) * @param http_status HTTP response code, #MHD_HTTP_OK * (200) for successful deposit; 0 if the exchange's reply is bogus (fails * to follow the protocol) + * @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 * the customer) @@ -330,6 +331,7 @@ abort_deposit (struct PayContext *pc) static void deposit_cb (void *cls, unsigned int http_status, + const struct TALER_ExchangePublicKeyP *sign_key, const json_t *proof) { struct DepositConfirmation *dc = cls; @@ -379,6 +381,7 @@ deposit_cb (void *cls, &dc->coin_pub, &dc->amount_with_fee, &dc->deposit_fee, + sign_key, proof)) { GNUNET_break (0); |