aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-28 22:55:48 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-28 22:55:48 +0100
commit5533bcbf651eafce682212ce635bdf8ce83d4bcb (patch)
tree44e61afb3232d58a2affbcfc7a776a066fcb43c9 /src/testing/testing_api_cmd_withdraw.c
parentf662313f7932818a88f0766c783b9c407a8b6c61 (diff)
downloadexchange-5533bcbf651eafce682212ce635bdf8ce83d4bcb.tar.xz
add purse delete testing CMD
Diffstat (limited to 'src/testing/testing_api_cmd_withdraw.c')
-rw-r--r--src/testing/testing_api_cmd_withdraw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c
index 7a81d1c33..1bd3c187e 100644
--- a/src/testing/testing_api_cmd_withdraw.c
+++ b/src/testing/testing_api_cmd_withdraw.c
@@ -360,14 +360,12 @@ withdraw_run (void *cls,
= TALER_TESTING_interpreter_lookup_command (
is,
ws->reserve_reference);
-
if (NULL == create_reserve)
{
GNUNET_break (0);
TALER_TESTING_interpreter_fail (is);
return;
}
-
if (GNUNET_OK !=
TALER_TESTING_get_trait_reserve_priv (create_reserve,
&rp))
@@ -376,7 +374,6 @@ withdraw_run (void *cls,
TALER_TESTING_interpreter_fail (is);
return;
}
-
if (NULL == ws->exchange_url)
ws->exchange_url
= GNUNET_strdup (TALER_EXCHANGE_get_base_url (is->exchange));