This commit is contained in:
Christian Grothoff 2021-11-08 08:54:12 +01:00
parent d9690fb087
commit b7f0d636e9
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -358,6 +358,7 @@ withdraw_run (void *cls,
const struct TALER_EXCHANGE_DenomPublicKey *dpk; const struct TALER_EXCHANGE_DenomPublicKey *dpk;
(void) cmd; (void) cmd;
ws->is = is;
create_reserve create_reserve
= TALER_TESTING_interpreter_lookup_command ( = TALER_TESTING_interpreter_lookup_command (
is, is,
@ -378,7 +379,7 @@ withdraw_run (void *cls,
} }
if (NULL == ws->exchange_url) if (NULL == ws->exchange_url)
ws->exchange_url ws->exchange_url
= GNUNET_strdup (TALER_EXCHANGE_get_base_url (ws->is->exchange)); = GNUNET_strdup (TALER_EXCHANGE_get_base_url (is->exchange));
ws->reserve_priv = *rp; ws->reserve_priv = *rp;
GNUNET_CRYPTO_eddsa_key_get_public (&ws->reserve_priv.eddsa_priv, GNUNET_CRYPTO_eddsa_key_get_public (&ws->reserve_priv.eddsa_priv,
&ws->reserve_pub.eddsa_pub); &ws->reserve_pub.eddsa_pub);
@ -411,7 +412,6 @@ withdraw_run (void *cls,
TALER_planchet_setup_random (&ws->ps); TALER_planchet_setup_random (&ws->ps);
ws->ps.coin_priv = *coin_priv; ws->ps.coin_priv = *coin_priv;
} }
ws->is = is;
if (NULL == ws->pk) if (NULL == ws->pk)
{ {
dpk = TALER_TESTING_find_pk (TALER_EXCHANGE_get_keys (is->exchange), dpk = TALER_TESTING_find_pk (TALER_EXCHANGE_get_keys (is->exchange),