aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_reserve_purse.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_reserve_purse.c
parent47620fa81b74a090767443445048ec9e3c15456e (diff)
downloadexchange-ff8349e6e7b7a898f3a9b0f69c44fa4a2a6a3fb1.tar.xz
more exchange API refactoring
Diffstat (limited to 'src/testing/testing_api_cmd_reserve_purse.c')
-rw-r--r--src/testing/testing_api_cmd_reserve_purse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/testing/testing_api_cmd_reserve_purse.c b/src/testing/testing_api_cmd_reserve_purse.c
index 7a356c231..511e2d498 100644
--- a/src/testing/testing_api_cmd_reserve_purse.c
+++ b/src/testing/testing_api_cmd_reserve_purse.c
@@ -184,12 +184,8 @@ purse_run (void *cls,
struct ReservePurseState *ds = cls;
const struct TALER_ReservePrivateKeyP *reserve_priv;
const struct TALER_TESTING_Command *ref;
- struct TALER_EXCHANGE_Handle *exchange
- = TALER_TESTING_get_exchange (is);
(void) cmd;
- if (NULL == exchange)
- return;
ds->is = is;
ref = TALER_TESTING_interpreter_lookup_command (ds->is,
ds->reserve_ref);