diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-11 21:06:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-11 21:06:30 +0200 |
commit | 44272bf1cee4312d8d9c83eedc34dbb63fa1c0a4 (patch) | |
tree | aab79cc966bad591aadc7f4b469d816a9e261229 /src/testing/testing_api_cmd_deposit.c | |
parent | 88bb7f44281a9f8a9474a242f0e2557fed9da781 (diff) | |
download | exchange-44272bf1cee4312d8d9c83eedc34dbb63fa1c0a4.tar.xz |
adapations to GNUnet API change
Diffstat (limited to 'src/testing/testing_api_cmd_deposit.c')
-rw-r--r-- | src/testing/testing_api_cmd_deposit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c index c251aada3..9468e7acb 100644 --- a/src/testing/testing_api_cmd_deposit.c +++ b/src/testing/testing_api_cmd_deposit.c @@ -581,7 +581,6 @@ TALER_TESTING_cmd_deposit (const char *label, { struct DepositState *ds; json_t *wire_details; - struct GNUNET_CRYPTO_EddsaPrivateKey *merchant_priv; wire_details = TALER_TESTING_make_wire_details (target_account_payto); ds = GNUNET_new (struct DepositState); @@ -591,9 +590,7 @@ TALER_TESTING_cmd_deposit (const char *label, ds->contract_terms = json_loads (contract_terms, JSON_REJECT_DUPLICATES, NULL); - merchant_priv = GNUNET_CRYPTO_eddsa_key_create (); - ds->merchant_priv.eddsa_priv = *merchant_priv; - GNUNET_free (merchant_priv); + GNUNET_CRYPTO_eddsa_key_create (&ds->merchant_priv.eddsa_priv); if (NULL == ds->contract_terms) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |