summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_purse_get.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-07 23:45:17 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-07 23:45:17 +0200
commit6b8e732bf8d8bfae268e7f5a9a09af9167fd0d47 (patch)
tree6a0eb06a4b084f4085badaefe4db5ebe2bcabd52 /src/testing/testing_api_cmd_purse_get.c
parent5f6d5bc3fcad284107e3e7d5f992f887895473fa (diff)
downloadexchange-6b8e732bf8d8bfae268e7f5a9a09af9167fd0d47.tar.gz
exchange-6b8e732bf8d8bfae268e7f5a9a09af9167fd0d47.tar.bz2
exchange-6b8e732bf8d8bfae268e7f5a9a09af9167fd0d47.zip
-pub
Diffstat (limited to 'src/testing/testing_api_cmd_purse_get.c')
-rw-r--r--src/testing/testing_api_cmd_purse_get.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_purse_get.c b/src/testing/testing_api_cmd_purse_get.c
index ed3ec3d6e..828310ae7 100644
--- a/src/testing/testing_api_cmd_purse_get.c
+++ b/src/testing/testing_api_cmd_purse_get.c
@@ -89,9 +89,9 @@ struct StatusState
const char *expected_balance;
/**
- * Private key of the purse being analyzed.
+ * Public key of the purse being analyzed.
*/
- const struct TALER_PurseContractPrivateKeyP *purse_priv;
+ const struct TALER_PurseContractPublicKeyP *purse_pub;
/**
* Interpreter state.
@@ -198,16 +198,16 @@ status_run (void *cls,
return;
}
if (GNUNET_OK !=
- TALER_TESTING_get_trait_purse_priv (create_purse,
- &ss->purse_priv))
+ TALER_TESTING_get_trait_purse_pub (create_purse,
+ &ss->purse_pub))
{
GNUNET_break (0);
- TALER_LOG_ERROR ("Failed to find purse_priv for status query\n");
+ TALER_LOG_ERROR ("Failed to find purse_pub for status query\n");
TALER_TESTING_interpreter_fail (is);
return;
}
ss->pgh = TALER_EXCHANGE_purse_get (is->exchange,
- ss->purse_priv,
+ ss->purse_pub,
ss->timeout,
ss->wait_for_merge,
&purse_status_cb,