From cd5fafffe22608d3d9ec6c620417ecdbd6c076d3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 15 Jul 2023 22:33:49 +0200 Subject: -get taler-exchange-benchmark to work --- src/testing/testing_api_cmd_withdraw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testing/testing_api_cmd_withdraw.c') diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c index 2550e55a..cf0b4998 100644 --- a/src/testing/testing_api_cmd_withdraw.c +++ b/src/testing/testing_api_cmd_withdraw.c @@ -349,7 +349,8 @@ withdraw_run (void *cls, const struct TALER_TESTING_Command *create_reserve; const struct TALER_EXCHANGE_DenomPublicKey *dpk; - ws->cmd = cmd; + if (NULL != cmd) + ws->cmd = cmd; ws->is = is; create_reserve = TALER_TESTING_interpreter_lookup_command ( -- cgit v1.2.3