summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_auditor_deposit_confirmation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 17:46:13 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 17:46:13 +0100
commit27457d94e4136d14c235aaea61214949842fc0aa (patch)
tree9abf4d5af8ca7cc1da6f1612bebf929cfd9ad744 /src/lib/testing_api_cmd_auditor_deposit_confirmation.c
parent9d2ff364dcb4777001c237c95e31657b36884d0e (diff)
downloadexchange-27457d94e4136d14c235aaea61214949842fc0aa.tar.gz
exchange-27457d94e4136d14c235aaea61214949842fc0aa.tar.bz2
exchange-27457d94e4136d14c235aaea61214949842fc0aa.zip
use properly typed merchant pub/priv key in trait
Diffstat (limited to 'src/lib/testing_api_cmd_auditor_deposit_confirmation.c')
-rw-r--r--src/lib/testing_api_cmd_auditor_deposit_confirmation.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/testing_api_cmd_auditor_deposit_confirmation.c b/src/lib/testing_api_cmd_auditor_deposit_confirmation.c
index 3ea6390d8..84fba1b30 100644
--- a/src/lib/testing_api_cmd_auditor_deposit_confirmation.c
+++ b/src/lib/testing_api_cmd_auditor_deposit_confirmation.c
@@ -197,7 +197,7 @@ deposit_confirmation_run (void *cls,
struct GNUNET_TIME_Absolute refund_deadline;
struct TALER_Amount amount_without_fee;
struct TALER_CoinSpendPublicKeyP coin_pub;
- const struct GNUNET_CRYPTO_EddsaPrivateKey *merchant_priv;
+ const struct TALER_MerchantPrivateKeyP *merchant_priv;
struct TALER_MerchantPublicKeyP merchant_pub;
const struct TALER_ExchangePublicKeyP *exchange_pub;
const struct TALER_ExchangeSignatureP *exchange_sig;
@@ -255,10 +255,10 @@ deposit_confirmation_run (void *cls,
GNUNET_CRYPTO_eddsa_key_get_public (&coin_priv->eddsa_priv,
&coin_pub.eddsa_pub);
GNUNET_assert (GNUNET_OK ==
- TALER_TESTING_get_trait_peer_key (deposit_cmd,
- dcs->coin_index,
- &merchant_priv));
- GNUNET_CRYPTO_eddsa_key_get_public (merchant_priv,
+ TALER_TESTING_get_trait_merchant_priv (deposit_cmd,
+ dcs->coin_index,
+ &merchant_priv));
+ GNUNET_CRYPTO_eddsa_key_get_public (&merchant_priv->eddsa_priv,
&merchant_pub.eddsa_pub);
GNUNET_assert (GNUNET_OK ==
TALER_string_to_amount (dcs->amount_without_fee,