aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_auditor_deposit_confirmation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-04 15:37:34 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-04 15:37:46 +0200
commitff8349e6e7b7a898f3a9b0f69c44fa4a2a6a3fb1 (patch)
tree403cdc1e3a772a3415e14bcc6e9c6a4a78a4beba /src/testing/testing_api_cmd_auditor_deposit_confirmation.c
parent47620fa81b74a090767443445048ec9e3c15456e (diff)
downloadexchange-ff8349e6e7b7a898f3a9b0f69c44fa4a2a6a3fb1.tar.xz
more exchange API refactoring
Diffstat (limited to 'src/testing/testing_api_cmd_auditor_deposit_confirmation.c')
-rw-r--r--src/testing/testing_api_cmd_auditor_deposit_confirmation.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_auditor_deposit_confirmation.c b/src/testing/testing_api_cmd_auditor_deposit_confirmation.c
index 5c7b76a31..252e8f522 100644
--- a/src/testing/testing_api_cmd_auditor_deposit_confirmation.c
+++ b/src/testing/testing_api_cmd_auditor_deposit_confirmation.c
@@ -211,12 +211,8 @@ deposit_confirmation_run (void *cls,
const struct TALER_EXCHANGE_Keys *keys;
const struct TALER_EXCHANGE_SigningPublicKey *spk;
const char *auditor_url;
- struct TALER_EXCHANGE_Handle *exchange
- = TALER_TESTING_get_exchange (is);
(void) cmd;
- if (NULL == exchange)
- return;
dcs->is = is;
GNUNET_assert (NULL != dcs->deposit_reference);
{
@@ -267,7 +263,7 @@ deposit_confirmation_run (void *cls,
dcs->coin_index,
&wire_deadline));
GNUNET_assert (NULL != exchange_timestamp);
- keys = TALER_EXCHANGE_get_keys (exchange);
+ keys = TALER_TESTING_get_keys (is);
GNUNET_assert (NULL != keys);
spk = TALER_EXCHANGE_get_signing_key_info (keys,
exchange_pub);